ghc 5.04 bug

Thomas Johnsson thomas at skri.net
Wed Sep 3 02:00:23 EDT 2003


ghc -c Ghcbug.hs
c:\ghc\ghc-5.04\bin\ghc.exe: panic! (the `impossible' happened, GHC 
version 5.04):
        expectJust tyConDataCons

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

Ghcbug.hs:
----------------------
module O where

type O a = Ord a => [a]

f :: O a -> O a
f [] = []
------------------------

Cheers,
-- Thomas





More information about the Glasgow-haskell-bugs mailing list