Fix Trac #2449
authorsimonpj@microsoft.com <unknown>
Tue, 5 Aug 2008 10:54:02 +0000 (10:54 +0000)
committersimonpj@microsoft.com <unknown>
Tue, 5 Aug 2008 10:54:02 +0000 (10:54 +0000)
commit8303bba8eb64a88797ebfda1e9010ca963f4c1bc
tree9b606de28778a516711ac4e848b790e56b63b29f
parent908203dc6a2f9fcbe819aef5b7a9d2196661b929
Fix Trac #2449

Deriving isn't allowed in hs-boot files (says the user manual)
This patch checks properly instead of crashing!
compiler/typecheck/TcDeriv.lhs