the impossible happened

Robby Findler robby at cs.uchicago.edu
Sat Oct 15 13:19:09 EDT 2005


I got this message from ghc:

ghc-6.4.1: panic! (the `impossible' happened, GHC version 6.4.1):
        applyTypeToArgs
    v{v a18Z} (Main.ac{v r18Q} @ alpha{tv a1sw} dom{v a193} x{v a199})

Please report it as a compiler bug to glasgow-haskell-bugs at haskell.org,
or http://sourceforge.net/projects/ghc/.

I ran ghc like this:

ghc -O2 -fglasgow-exts ctc-gadt.hs

and ctc-gadt.hs is attached.

This is on a mac os x 10.4 G4 machine, if that matters.

The problem doesn't show up if I drop the "-O2" flag.

Robby
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctc-gadt.hs
Type: application/octet-stream
Size: 921 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/glasgow-haskell-bugs/attachments/20051015/d83c2947/ctc-gadt.obj


More information about the Glasgow-haskell-bugs mailing list