Create di_scoped_tvs for associated data family instances properly
See `Note [Associated data family instances and di_scoped_tvs]` in `GHC.Tc.TyCl.Instance`, which explains all of the moving parts. Fixes #18055.
Showing
- compiler/GHC/Tc/TyCl/Instance.hs 57 additions, 7 deletionscompiler/GHC/Tc/TyCl/Instance.hs
- testsuite/tests/deriving/should_compile/T18055.hs 41 additions, 0 deletionstestsuite/tests/deriving/should_compile/T18055.hs
- testsuite/tests/deriving/should_compile/all.T 1 addition, 0 deletionstestsuite/tests/deriving/should_compile/all.T
Loading
Please register or sign in to comment