Improve the error message when we cannot derive Generic.
authorJose Pedro Magalhaes <jpm@cs.uu.nl>
Mon, 9 May 2011 09:52:47 +0000 (11:52 +0200)
committerJose Pedro Magalhaes <jpm@cs.uu.nl>
Mon, 9 May 2011 09:52:47 +0000 (11:52 +0200)
commita5673c5bcc20a9504c523c122112b935962dafe3
tree869579d950890b4a24ffd23356b5694e252ead18
parentcb698570b2b8ff5da58f0a49f3444b0664425b49
Improve the error message when we cannot derive Generic.
compiler/typecheck/TcDeriv.lhs
compiler/types/Generics.lhs