Verification error on repeating method specification from trait #6038
Labels
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
release-blocker
Must be resolved before the next release
Dafny version
latest master (regression since 4.9.1)
Code to produce this issue
Command to run and resulting output
What happened?
The example verifies successfully on Dafny 4.9.1. I suspect this is a consequence of the recent change to
CanCall
but haven't confirmed yet. It seems to have something to do with invoking a trait function within themodifies
clause.Having trouble seeing a workaround, and even if there is one, it's really unfortunate that simply repeating the definition from a trait in a class doesn't verify without help.
What type of operating system are you experiencing the problem on?
Mac
The text was updated successfully, but these errors were encountered: