Resolver crashes on possibly empty subset type of trait #4946
Labels
crash
Dafny crashes on this input, or generates malformed code that can not be executed
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
part: resolver
Resolution and typechecking
Dafny version
4.4.0
Code to produce this issue
Command to run and resulting output
What happened?
CheckCanBeConstructed()
inModuleResolver.cs
attempts the invalid cast above. Curiously, this program verifies whentype Program
is annotated withwitness Trivial()
(but notwitness *
).What type of operating system are you experiencing the problem on?
Mac
The text was updated successfully, but these errors were encountered: