[GHC] #2851: Improve error message for failed deriving
GHC
trac at galois.com
Tue Dec 9 04:12:45 EST 2008
#2851: Improve error message for failed deriving
----------------------------------------+-----------------------------------
Reporter: guest | Owner:
Type: feature request | Status: reopened
Priority: normal | Milestone:
Component: Compiler (Type checker) | Version: 6.10.1
Severity: minor | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
----------------------------------------+-----------------------------------
Comment (by guest):
I did try 'deriving instance', but without the context. With a context it
works like a charm.
But like Isaac says, it would be nice with a better error message, since
it wasn't obvious to me that the 'deriving instance' would do the trick.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2851#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list