Surprising Verification Failures with Nested Datatypes + Classes #5370
Labels
during 2: compilation of correct program
Dafny rejects a valid program during compilation
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
part: verifier
Translation from Dafny to Boogie (translator)
priority: next
Will consider working on this after in progress work is done
Dafny version
4.6.0
Code to produce this issue
Command to run and resulting output
What happened?
I'd expect all of the postconditions to verify without additional hints. I find it especially surprising that the assertion in
Ok2
does anything useful.What type of operating system are you experiencing the problem on?
Mac
The text was updated successfully, but these errors were encountered: