Skip to content
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

Fix: Crash in the resolver on type parameters of opaque functions in refined modules #4769

Merged

Conversation

MikaelMayer
Copy link
Member

This PR fixes #4768
I added the corresponding test.

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

? e.Member.EnclosingClass.TypeArgs[i]
?
(e.Member.EnclosingClass is DefaultClassDecl ?
// In a "revealedFunction" attribute, the EnclosingClass is DefaultClassDecl and does
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment sentence finishes suddenly

@MikaelMayer MikaelMayer enabled auto-merge (squash) November 13, 2023 11:30
@MikaelMayer
Copy link
Member Author

I just hit this bug again while developing a library, can't wait for the fix to be merged.

@MikaelMayer MikaelMayer merged commit 179c4f9 into master Nov 15, 2023
20 checks passed
@MikaelMayer MikaelMayer deleted the fix-4768-abstract-module-type-parameter-crashes-dafny branch November 15, 2023 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Abstract module + type parameter crashes Dafny
2 participants