-
Notifications
You must be signed in to change notification settings - Fork 254
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
Comments
GenericMonkey
added
the
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
label
Apr 11, 2023
Thanks for the report ! |
keyboardDrummer
added a commit
that referenced
this issue
Apr 14, 2023
Fixes #3860 <small>By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt).</small>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: