Java compilation error when user code defines Get()
in a codatatype
#4153
Labels
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
lang: java
Dafny's Java transpiler and its runtime
testing-method: uniform-backend-testing
Issues found by ensuring uniform testing across backends
Dafny version
4.1.0
Code to produce this issue
Command to run and resulting output
What happened?
Compilation always adds the
Get()
method for resolving the codatatype, but missing a way to avoid colliding with user code.What type of operating system are you experiencing the problem on?
Mac
The text was updated successfully, but these errors were encountered: