Soundness issue: Map's range not inferred to require equality for datatype to support equality #5972
Labels
during 3: execution of incorrect program
An bug in the verifier that allows Dafny to run a program that does not correctly implement its spec
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
part: resolver
Resolution and typechecking
Dafny version
latest-nightly
Code to produce this issue
Command to run and resulting output
What happened?
It outputs a run-time exception whereas the program verifies.
The problem is that the second argument of the map requires supporting equality for the datatype to support equality but it is not added
What type of operating system are you experiencing the problem on?
Any
The text was updated successfully, but these errors were encountered: