Skip to content

Properly scope GADT equality evidence in the judgment#1942

Merged
jneira merged 3 commits into
haskell:masterfrom
isovector:proper-coercion
Jun 18, 2021
Merged

Properly scope GADT equality evidence in the judgment#1942
jneira merged 3 commits into
haskell:masterfrom
isovector:proper-coercion

Conversation

@isovector

Copy link
Copy Markdown
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