Clash when compiling a datatype containing a static const Default
#3809
Labels
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
Dafny version
4.0.0.50303
Code to produce this issue
Command to run and resulting output
What happened?
Dafny seems to codegen a
Default
method for datatypes, but does not check if there is a user-defined one. When definingDefault
ourselves there's a clash.What type of operating system are you experiencing the problem on?
Mac
The text was updated successfully, but these errors were encountered: