Strange ghci :def failure

Simon Peyton-Jones simonpj at microsoft.com
Mon Jun 9 04:16:27 EDT 2003


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





More information about the Glasgow-haskell-bugs mailing list