Make Derived NomEq rewrite only Derived NomEq
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 1 May 2015 08:42:21 +0000 (09:42 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 1 May 2015 08:42:21 +0000 (09:42 +0100)
commitb626cb08b6b97965eec1ab63a890f8cbcfbcaa5b
treef77c1474e7e8cd9ed0f219ac96aebd1727b315ba
parent0d715db801972b8119aef15bd63b869fad9d5f9d
Make Derived NomEq rewrite only Derived NomEq

See Note [Deriveds do rewrite Deriveds].  The important point
is that we want to maintain the Note [Can-rewrite relation]
property, lest we risk loops.
compiler/typecheck/TcFlatten.hs