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

Properly scope GADT equality evidence in the judgment #1942

Merged
merged 3 commits into from
Jun 18, 2021

Conversation

isovector
Copy link
Collaborator

Wingman was incorrectly adding GADT equalities to the global substitution, meaning it would think type equalities persisted between GADT branches. This lead to #1937, and is easily fixed by tracking this evidence in the local Judgment, rather than the global TacticState.

Fixes #1937

@jneira jneira merged commit b214231 into haskell:master Jun 18, 2021
@isovector isovector deleted the proper-coercion branch July 19, 2021 17: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.

Wingman incorrectly unifies skolems across apart GADT matches
2 participants