Commit cfd7a0d5 authored by ralf's avatar ralf
Browse files

[project @ 2004-03-22 09:00:28 by ralf]

Boot-strapping ghc revealed an issue related to yesterday's renaming
of Data.Typeable. I can now build a stage1 compiler again. Let me try
a stage2 one as well.

ralf        2004/03/21 11:06:04 PST

  Modified files:
    ghc/compiler/prelude PrelNames.lhs
    ghc/compiler/typecheck TcGenDeriv.lhs
  Log:
  Implemented renaming for Data.Typeable
  as far as deriving mechanism is involved.
  See http://www.haskell.org//pipermail/libraries/2004-March/001846.html

  Revision  Changes    Path
  1.88      +1 -1      fptools/ghc/compiler/prelude/PrelNames.lhs
  1.107     +1 -1      fptools/ghc/compiler/typecheck/TcGenDeriv.lhs
parent f8daa233
......@@ -121,10 +121,16 @@ showGhcException (Panic s)
++ "to glasgow-haskell-bugs@haskell.org,\n"
++ "or http://sourceforge.net/projects/ghc/.\n\n")
#if __GLASGOW_HASKELL__ < 630
myMkTyConApp = mkAppTy
#else
myMkTyConApp = mkTyConApp
#endif
ghcExceptionTc = mkTyCon "GhcException"
{-# NOINLINE ghcExceptionTc #-}
instance Typeable GhcException where
typeOf _ = mkAppTy ghcExceptionTc []
typeOf _ = myMkTyConApp ghcExceptionTc []
\end{code}
Panics and asserts.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment