[GHC] #1122: Trying to declare an infix newtype yields ghc panic
GHC
trac at galois.com
Sun Jan 28 12:23:31 EST 2007
#1122: Trying to declare an infix newtype yields ghc panic
-------------------------+--------------------------------------------------
Reporter: guest | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 6.6
Severity: normal | Keywords:
Difficulty: Unknown | Testcase:
Architecture: x86 | Os: Linux
-------------------------+--------------------------------------------------
The following code:
`newtype (f <.> g) a = Compose (f (g a))`
makes GHC output the following on the command line:
{{{
ghc-6.6: panic! (the 'impossible' happened)
(GHC version 6.6 for i386-unknown-linux):
MkIface.addAvail <.>{tv} main:Utils.Compose{d rCo}
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1122>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list