-
Notifications
You must be signed in to change notification settings - Fork 256
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
Crash in ModuleQualifiedId.Set #2108
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
Comments
cpitclaudel
added
kind: bug
Crashes, unsoundness, incorrect output, etc. If possible, add a `part:` label
part: resolver
Resolution and typechecking
crash
Dafny crashes on this input, or generates malformed code that can not be executed
labels
May 7, 2022
MikaelMayer
added a commit
that referenced
this issue
Nov 7, 2022
…orts (#2993) This PR fixes #2108 Basically, we were trying to call ModuleQualifiedId.Set() on something else than a LiteralModuleDecl, and it happened it was an AliasModuleDecl. Since we were only interested by the underlying ModuleDefinition, I added a case to ensure it does not crash for AliasModuleDecl <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
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
Input:
Output:
The text was updated successfully, but these errors were encountered: