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
++ "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.