We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This:
assume val ty : Type ```pulse fn test (x : ty) requires emp returns x:int ensures emp { 1 }
Fails with
Could not infer implicit arguments in x: ty -> stt int emp (fun _ -> emp) (in file <dummy>)
The text was updated successfully, but these errors were encountered:
Running in the CLI also shows this:
(Error 339) Internal error: unexpected unresolved (universe) uvar in deep_compress: 7 <dummy>(0,0-0,0): (Error) Could not infer implicit arguments in x: Bug.ty -> Pulse.Lib.Core.stt Prims.int Pulse.Lib.Core.emp (fun _ -> Pulse.Lib.Core.emp)
and specializing to Type0 makes it work.
Type0
Sorry, something went wrong.
The issue here is that Pulse does not support universe polymorphic definitions. We should at least provide a better error.
nikswamy
No branches or pull requests
This:
Fails with
The text was updated successfully, but these errors were encountered: