-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
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
Optional in cycles #202
Comments
That looks like a Nagini bug to me. Could you send me the entire program you're verifying so I can try to reproduce it? |
The whole version of program (but, for now, without any complicated invariants and postconditions) is like that:
|
Hm, that's weird, Nagini seems to be getting incorrect type information about the type of
|
Thank you, that works! |
Hello! Currently I'm having issues verifying code with Optional types. For example, for code containing cycles I get following error:
Loop invariant issubtype(typeof(a), int()) might not hold on entry. (<no position>)
Here is the example of code:
Could you kindly help me with this problem?
The text was updated successfully, but these errors were encountered: