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
{{ message }}
Repository navigation
False error: a boolean query (_ == true --> open(this)) in a class fails at its return #509
Problem. A boolean query in an ordinary class, a method whose return refinement relates its result to the state of this, fails when its body is checked:
Argument Mismatch Error: Argument '#ret_1' and its respective parameter of ghost 'QueryShorthand.state1' types are incompatible: expected QueryShorthand, got boolean
The same refinement works on an external spec (_ == true --> hasMore(this) on Scanner.hasNext()), whose methods have no body. When the return is checked, the state's argument seems to become the returned value instead of this.
Activity
Accept a state written as a value of its set: phase(this) == open (#510)