#2449: panic with GeneralizedNewtypeDeriving and a .hs-boot file
-------------------------+--------------------------------------------------
Reporter: igloo | Owner:
Type: bug | Status: new
Priority: normal | Milestone: 6.10.1
Component: Compiler | Version: 6.9
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: Unknown | Os: Unknown
-------------------------+--------------------------------------------------
With `A.hs-boot`:
{{{
module A where
data A
deriving Show
}}}
We can get a panic:
{{{
$ ghc -c -XGeneralizedNewtypeDeriving A.hs-boot
A.hs-boot:5:13:ghc: panic! (the 'impossible' happened)
(GHC version 6.9.20080716 for x86_64-unknown-linux):
newTyConEtadRhs main:A.A{tc r6K}
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2449>
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