Disjunctive pattern matching not correctly handled #5572
Labels
during 4: bad execution of correct program
A bug in the Dafny compiler that causes a correct Dafny program to execute incorrectly
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
Dafny version
latest-nightly
Code to produce this issue
Command to run and resulting output
What happened?
The translation is the following:
Since disjunctive patterns may not bind variables, we should simply not translate the patterns "_" into variable extraction.
What type of operating system are you experiencing the problem on?
Windows
The text was updated successfully, but these errors were encountered: