Skip to content
Snippets Groups Projects
Commit 638277ba authored by Simon Peyton Jones's avatar Simon Peyton Jones Committed by Marge Bot
Browse files

Detect family instance orphans correctly

We were treating a type-family instance as a non-orphan if there
was a type constructor on its /right-hand side/ that was local. Boo!
Utterly wrong. With this patch, we correctly check the /left-hand side/
instead!

Fixes #22717
parent 545bf8cf
No related branches found
No related tags found
No related merge requests found
Showing with 67 additions and 22 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