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 unification pertaining to evidence #1885

Merged
merged 7 commits into from
Jun 4, 2021

Conversation

isovector
Copy link
Collaborator

@isovector isovector commented Jun 4, 2021

I was applying each evidence substitution individually, which doesn't work when we learn two things about the same variable at once. Additionally, while digging in here, I found a bug where the destructAll tactic wouldn't use discovered GADT evidence to eliminate constructors --- so that's fixed too.

Fixes #1884

@isovector isovector added the merge me Label to trigger pull request merge label Jun 4, 2021
@mergify mergify bot merged commit 1163ae7 into haskell:master Jun 4, 2021
@isovector isovector deleted the fix-evidence 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
merge me Label to trigger pull request merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wingman is still flummoxed by GADT evidence
2 participants