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: Correct cast of EnclosingClass #4954

Merged
merged 6 commits into from
Jan 10, 2024

Conversation

RustanLeino
Copy link
Collaborator

This PR causes 5 kinds of crashes that could happen when a function/method (with a specification) of a trait was overridden in an abstract type.

Fixes #4952

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

@RustanLeino RustanLeino marked this pull request as ready for review January 9, 2024 00:39
@atomb
Copy link
Member

atomb commented Jan 9, 2024

This PR causes 5 kinds of crashes that could happen when a function/method (with a specification) of a trait was overridden in an abstract type.

I hope the PR fixes them instead of causing them. 😛

@RustanLeino RustanLeino enabled auto-merge (squash) January 9, 2024 01:49
@RustanLeino RustanLeino merged commit 31da6b9 into dafny-lang:master Jan 10, 2024
20 checks passed
@RustanLeino RustanLeino deleted the fix-4952 branch January 10, 2024 18:12
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.

Dafny crashes when overriding type argument
3 participants