Update to go1.24.0
This commit is contained in:
@@ -14,7 +14,7 @@ func f0i(x int) int {
|
||||
}
|
||||
|
||||
if (x + 20) == 20 {
|
||||
return x + 5 // ERROR "Proved.+is constant 0$"
|
||||
return x + 5 // ERROR "Proved.+is constant 0$" "Proved.+is constant 5$"
|
||||
}
|
||||
|
||||
return x / 2
|
||||
@@ -26,7 +26,7 @@ func f0u(x uint) uint {
|
||||
}
|
||||
|
||||
if (x + 20) == 20 {
|
||||
return x + 5 // ERROR "Proved.+is constant 0$"
|
||||
return x + 5 // ERROR "Proved.+is constant 0$" "Proved.+is constant 5$"
|
||||
}
|
||||
|
||||
return x / 2
|
||||
|
||||
Reference in New Issue
Block a user