Fix #19044 by tweaking unification in inst lookup
Commit message:
Fix #19044 by tweaking unification in inst lookup
See Note [Occurs-check in lookup] in GHC.Core.InstEnv
Test case: typecheck/should_compile/T19044
Close #19044
Commit message:
Fix #19044 by tweaking unification in inst lookup
See Note [Occurs-check in lookup] in GHC.Core.InstEnv
Test case: typecheck/should_compile/T19044
Close #19044