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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
| Behalf Of George Russell
| Sent: 07 June 2003 19:36
| To: [EMAIL PROTECTED]
| 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
[EMAIL PROTECTED],
| or http://sourceforge.net/projects/ghc/.
| 
| _______________________________________________
| Glasgow-haskell-bugs mailing list
| [EMAIL PROTECTED]
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs


_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to