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 ADT postcondition bug #603

Merged
merged 2 commits into from
Sep 7, 2022
Merged

Fix ADT postcondition bug #603

merged 2 commits into from
Sep 7, 2022

Conversation

zgrannan
Copy link
Contributor

This PR fixes a bug where postconditions on ADTs result in a classcast exception (demonstrated by the attached test, also see #581). It looks like one code path had not yet been updated to support ADTs.

This PR doesn't fix all of the problems mentioned in issue #581, so that issue should probably remain open for now.

Copy link
Contributor

@marcoeilers marcoeilers left a comment

Choose a reason for hiding this comment

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

LGTM

@marcoeilers marcoeilers merged commit 2049575 into master Sep 7, 2022
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.

2 participants