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 t = { a: bool; b: integer } *)(*@ type r = { a: bool; c: integer } *)valf : int -> bool(*@ ensures let x = { a = true; b = 42 } in true *)
fails with:
File "/tmp/bob.mli", line 5, characters 20-40:
5 | (*@ ensures let x = { a = true; b = 42 } intrue*)
^^^^^^^^^^^^^^^^^^^^
Error: The record field b does not exist.
The text was updated successfully, but these errors were encountered:
Running Gospel type-checker on this file:
fails with:
The text was updated successfully, but these errors were encountered: