Unify, rather than match, in GND processing (fixes Trac #8865)
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 10 Mar 2014 11:10:21 +0000 (11:10 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 10 Mar 2014 11:11:30 +0000 (11:11 +0000)
commitf521a26cb741409011137115d17232df901c3c94
treeb4a61f4bf2dc695e3525d6d61f0dbf428bd29776
parent9d14262299fe721e49eb0efadebca9d095c834b3
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
compiler/ghci/RtClosureInspect.hs
compiler/typecheck/TcDeriv.lhs
compiler/types/Unify.lhs
testsuite/tests/deriving/should_compile/T8865.hs [new file with mode: 0644]
testsuite/tests/deriving/should_compile/all.T