ghc 5.04 bug

Simon Marlow simonmar at microsoft.com
Wed Sep 3 06:52:56 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 [] = []
> ------------------------

This bug was fixed in version 5.04.1.

Cheers,
	Simon



More information about the Glasgow-haskell-bugs mailing list