Less scary arity mismatch error message when deriving
authormniip <mniip@mniip.com>
Sun, 4 Sep 2016 17:23:03 +0000 (13:23 -0400)
committerBen Gamari <ben@smart-cactus.org>
Mon, 5 Sep 2016 18:58:20 +0000 (14:58 -0400)
commit8d00175f4ba969ca5f4edf26b0e8593a79d4f508
tree1c35cb11fd74cff6b2b9cdbe414f3efc7c80d777
parent6ea62427de419ea071e1ea79ad0c15d9f4e90a67
Less scary arity mismatch error message when deriving

Test Plan: Corrected a few tests to include the new message.

Reviewers: goldfire, austin, bgamari

Reviewed By: bgamari

Subscribers: goldfire, thomie

Differential Revision: https://phabricator.haskell.org/D2484

GHC Trac Issues: #12546
compiler/typecheck/TcDeriv.hs
compiler/typecheck/TcHsType.hs
testsuite/tests/deriving/should_fail/T7959.stderr
testsuite/tests/deriving/should_fail/drvfail005.stderr
testsuite/tests/deriving/should_fail/drvfail009.stderr