New type system refresh issue #4823
Labels
crash
Dafny crashes on this input, or generates malformed code that can not be executed
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
part: resolver
Resolution and typechecking
Dafny version
latest-nightly
Code to produce this issue
Command to run and resulting output
What happened?
Unhandled exception: System.InvalidCastException: Unable to cast object of type 'Microsoft.Dafny.IndDatatypeDecl' to type 'Microsoft.Dafny.ClassLikeDecl
'.
at Microsoft.Dafny.BoogieGenerator.AddFunctionOverrideReqsChk(Function f, BoogieStmtListBuilder builder, ExpressionTranslator etran, Dictionary
2 sub stMap, Dictionary
2 typeMap) in dafny\Source\DafnyCore\Verifier\BoogieGenerator.Methods.cs:line 1185What type of operating system are you experiencing the problem on?
Windows
The text was updated successfully, but these errors were encountered: