Improve error messages for 'deriving' clauses
authorsimonpj@microsoft.com <unknown>
Fri, 16 Mar 2007 14:28:24 +0000 (14:28 +0000)
committersimonpj@microsoft.com <unknown>
Fri, 16 Mar 2007 14:28:24 +0000 (14:28 +0000)
commited81632e2112e76b88890e9893fb808593d6e4df
tree23a461480ea050ba9567ce43238b41b6103ea1e8
parentec0b859902e717c24addff49f9a83efb927fb669
Improve error messages for 'deriving' clauses

This patch improves the misleading error message reported in Trac #1133.

Please merge the patch to the 6.6.1 branch.
compiler/typecheck/TcDeriv.lhs