Dictionary Error With Object Update Syntax #3860
Labels
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
part: resolver
Resolution and typechecking
Dafny version
VSCode : 4.0.0.50303
Code to produce this issue
Command to run and resulting output
What happened?
This code should soft error in VSCode, detecting the duplicate field name (
y
).However, it instead crashes with an internal dictionary error when the second
y
is added to the datatypeTest
.This is the minimal repro I was able to create -- the update syntax in the
pred
predicate is necessary for the crash to happen from my tinkering on it.Thanks for your hard work!
What type of operating system are you experiencing the problem on?
Windows
The text was updated successfully, but these errors were encountered: