Bugs item #605164, was opened at 2002-09-05 13:37
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=605164&group_id=8032

Category: Compiler
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ken Shan (ccshan)
Assigned to: Nobody/Anonymous (nobody)
Summary: panic: tcSplitTyConApp with rank-2 type

Initial Comment:
The following program causes GHC 5.04 (i386-linux) to
panic:

{-# OPTIONS -fglasgow-exts #-}

module Bug where

newtype Bug s a = Bug a

runBug :: (forall s. Bug s a) -> a
runBug (Bug _) = undefined

cruella:~/u/texmacs$ ghc -c Bug.hs
ghc-5.04: panic! (the `impossible' happened, GHC
version 5.04):
        tcSplitTyConApp
    forall s{-r3V-} :: *. Bug.Bug{-r2-} s{-r3V-} a{-aaA-}

Please report it as a compiler bug to
[EMAIL PROTECTED],
or http://sourceforge.net/projects/ghc/.

Attached is a transcript.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=605164&group_id=8032
_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to