logo       

Re: Strange ghci :def failure: msg#00039

lang.haskell.glasgow.bugs

Subject: Re: Strange ghci :def failure

On Sat, 07 Jun 2003 20:35:55 +0200
George Russell <ger@xxxxxx> wrote:

> What is wrong here?
>
> / _ \ /\ /\/ __(_)
> / /_\// /_/ / / | | GHC Interactive, version 6.0, for Haskell
> 98.
> / /_\\/ __ / /___| | http://www.haskell.org/ghc/
> \____/\/ /_/\____/|_| Type :? for help.
>
> Loading package base ... linking ... done.
> Prelude> :def code (\ "" -> do { let {getCode acc = do { next <-
> getLine ; if next == ":edoc" then return . unwords . reverse $ acc
> else getCode (next : acc)}} ; getCode [] } ) ghc-6.0: panic! (the
> `impossible' happened, GHC version 6.0):
> getLinkDeps No iface for [<pkg>]GHCziErr
>
> Please report it as a compiler bug to
> glasgow-haskell-bugs@xxxxxxxxxxx, or
> http://sourceforge.net/projects/ghc/.

It seems to happen (also) just when a pattern match fails
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.1, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.

Loading package base ... linking ... done.
Prelude> case 5 of 3 -> 2
c:\ghc\GHC-BU~1\bin\ghc.exe: panic! (the `impossible' happened, GHC
version 6.1):
getLinkDeps No iface for [<pkg>]GHCziErr

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

also (\[] -> 3) [2] does the same thing.


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

News | FAQ | advertise