Unify, rather than match, in GND processing (fixes Trac #8865)
Yet another small way in which polymorphic kinds needs a bit of care See Note [Unify kinds in deriving] in TcDeriv
Showing
- compiler/ghci/RtClosureInspect.hs 1 addition, 2 deletionscompiler/ghci/RtClosureInspect.hs
- compiler/typecheck/TcDeriv.lhs 32 additions, 17 deletionscompiler/typecheck/TcDeriv.lhs
- compiler/types/Unify.lhs 15 additions, 8 deletionscompiler/types/Unify.lhs
- testsuite/tests/deriving/should_compile/T8865.hs 11 additions, 0 deletionstestsuite/tests/deriving/should_compile/T8865.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