A CFunEqCan can be Derived
authorSimon Peyton Jones <simonpj@microsoft.com>
Fri, 11 Sep 2015 15:23:06 +0000 (16:23 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Fri, 11 Sep 2015 16:03:17 +0000 (17:03 +0100)
commita7f690972629672510c71149d7d7c6ffe6217201
tree413ae6bde8a7cfe73341d4157a315e93930c16a3
parent487c90edd3c36406bdc020afd79a6696ae52c19b
A CFunEqCan can be Derived

This fixes the ASSERTION failures in
  indexed-types/should_fail/T5439
  typecheck/should_fail/T5490
when GHC is compiled with -DDEBUG

See Phab:D202 attached to Trac #6018
compiler/typecheck/TcInteract.hs
compiler/typecheck/TcRnTypes.hs
compiler/typecheck/TcSMonad.hs