Error when guarding nonexistent this
#5523
Labels
during 2: compilation of correct program
Dafny rejects a valid program during compilation
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
lang: c#
Dafny's C# transpiler and its runtime
release-blocker
Must be resolved before the next release
Dafny version
master
Code to produce this issue
Command to run and resulting output
What happened?
#5474 introduced a guarding mechanism for
this
when doing tail call elimination. This change didn't take the case into account when there can be nothis
, like outside of a class.What type of operating system are you experiencing the problem on?
Mac
The text was updated successfully, but these errors were encountered: