logo       

RE: Strange ghci :def failure: msg#00041

lang.haskell.glasgow.bugs

Subject: RE: Strange ghci :def failure

This is an embarrassing bug in 6.0. Alas. We need more regression
tests for ghci.

Workaround: do not write expressions in ghci with pattern matches that
may fail.

Simon

| -----Original Message-----
| From: glasgow-haskell-bugs-admin@xxxxxxxxxxx
[mailto:glasgow-haskell-bugs-admin@xxxxxxxxxxx] On
| Behalf Of George Russell
| Sent: 07 June 2003 19:36
| To: glasgow-haskell-bugs@xxxxxxxxxxx
| Subject: Strange ghci :def failure
|
| 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/.
|
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| Glasgow-haskell-bugs@xxxxxxxxxxx
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


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

News | FAQ | advertise