Skip to content
Snippets Groups Projects
Commit 55ca1085 authored by Richard Eisenberg's avatar Richard Eisenberg Committed by Marge Bot
Browse files

Fix #17405 by not checking imported equations

Previously, we checked all imported type family equations
for injectivity. This is very silly. Now, we check only
for conflicts.

Before I could even imagine doing the fix, I needed to untangle
several functions that were (in my opinion) overly complicated.
It's still not quite as perfect as I'd like, but it's good enough
for now.

Test case: typecheck/should_compile/T17405
parent fa25c8c4
No related branches found
No related tags found
Loading
Showing
with 241 additions and 177 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment