Hmmm, something is still wrong here:
---------------------------------------------------------------------------
[EMAIL PROTECTED]:~> ghci
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.1, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package base ... linking ... done.
Prelude> 1+2
ghc-6.1: panic! (the `impossible' happened, GHC version 6.1):
dsReboundNames Not found: GHCziBase.zgzg {- v 01Q -}
Please report it as a compiler bug to [EMAIL PROTECTED],
or http://sourceforge.net/projects/ghc/.
---------------------------------------------------------------------------
Improving the panic message a bit by adding the lookup table gives at
least a clue:
---------------------------------------------------------------------------
[EMAIL PROTECTED]:~> ghci
___ ___ _
/ _ \ /\ /\/ __(_)
/ /_\// /_/ / / | | GHC Interactive, version 6.1, for Haskell 98.
/ /_\\/ __ / /___| | http://www.haskell.org/ghc/
\____/\/ /_/\____/|_| Type :? for help.
Loading package base ... linking ... done.
Prelude> 1+2
ghc-6.1: panic! (the `impossible' happened, GHC version 6.1):
dsReboundNames
Not found: GHCziBase.zgzg {- v 01Q -} [(GHCziIOBase.returnIO {- v 0B -},
GHCziIOBase.returnIO {- v 0B -}),
(GHCziIOBase.failIO {- v 0I -},
GHCziIOBase.failIO {- v 0I -}),
(GHCziIOBase.bindIO {- v 0A -},
GHCziIOBase.bindIO {- v 0A -}),
(GHCziIOBase.thenIO {- v 0X -},
GHCziIOBase.thenIO {- v 0X -})]
Please report it as a compiler bug to [EMAIL PROTECTED],
or http://sourceforge.net/projects/ghc/.
---------------------------------------------------------------------------
TcRnDriver.tc_stmts uses the IO versions of the monad names, but
DsExpr.dsDo uses the normal ones. Using the non-IO versions in
tc_stmts is only a little improvement: GHCi prints the value, but
segfaults afterwards. :-(
Cheers,
S.
_______________________________________________
Cvs-ghc mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-ghc