#2449: panic with GeneralizedNewtypeDeriving and a .hs-boot file
----------------------+-----------------------------------------------------
Reporter: igloo | Owner: igloo
Type: bug | Status: new
Priority: normal | Milestone: 6.10.1
Component: Compiler | Version: 6.9
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Changes (by simonpj):
* owner: => igloo
Comment:
Good bug. As the user manual says, you can't put deriving clauses in hs-
boot files. I've made GHC check properly for this now.
{{{
Tue Aug 5 11:54:02 BST 2008 [EMAIL PROTECTED]
* Fix Trac #2449
Deriving isn't allowed in hs-boot files (says the user manual)
This patch checks properly instead of crashing!
}}}
IAN: I'm not sure how to add a test case whose source file is a `hs-boot`
file. Could you do so please? The one above will do fine. Thanks. Then
close.
Simon
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2449#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs