You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
type tup is {int y, int x}
type point is {int y, int x} where (x > 0) && (y > 0)
function f(point p) -> point:
return p
method main() -> point:
tup z = {y: -2, x: 1}
point p = f(z)
return p
Specifically, the error message is:
./ConstrainedTuple_Invalid_1.whiley:11: cannot resolve as function or definition call
point p = f(z)
^^^^
This is related to verification as it only shows up in that case.
The text was updated successfully, but these errors were encountered:
This was a fairly simple bug caused by incorrect treatment of parameters
going into WyAL (rembering that parameters to functions in WyAL are
handled in a rather "unique" fashion).
The following exhibits a strange problem:
Specifically, the error message is:
This is related to verification as it only shows up in that case.
The text was updated successfully, but these errors were encountered: