logo       

RE: ghc 5.04 bug: msg#00009

lang.haskell.glasgow.bugs

Subject: RE: ghc 5.04 bug


> 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@xxxxxxxxxxx,
> 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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise