[project @ 2000-03-25 12:38:40 by panne]
authorpanne <unknown>
Sat, 25 Mar 2000 12:38:41 +0000 (12:38 +0000)
committerpanne <unknown>
Sat, 25 Mar 2000 12:38:41 +0000 (12:38 +0000)
Adding a bunch of `import PprType ()' to make 4.07 compile itself.
Strangely enough, compilation with 4.06 worked without these, so
this is probably only fighting the symptoms of something deeper,
and somebody should have a look at it. But for now, I simply need
a bootstrapping 4.07...

15 files changed:
ghc/compiler/codeGen/CgCase.lhs
ghc/compiler/codeGen/CgExpr.lhs
ghc/compiler/coreSyn/CoreLint.lhs
ghc/compiler/deSugar/DsCCall.lhs
ghc/compiler/deSugar/DsExpr.lhs
ghc/compiler/deSugar/DsForeign.lhs
ghc/compiler/simplCore/SimplUtils.lhs
ghc/compiler/specialise/Specialise.lhs
ghc/compiler/stgSyn/StgLint.lhs
ghc/compiler/stgSyn/StgSyn.lhs
ghc/compiler/typecheck/TcBinds.lhs
ghc/compiler/typecheck/TcClassDcl.lhs
ghc/compiler/typecheck/TcDeriv.lhs
ghc/compiler/typecheck/TcForeign.lhs
ghc/compiler/typecheck/TcPat.lhs

index 9ede650..8bf74fa 100644 (file)
@@ -1,7 +1,7 @@
 %
 % (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
 %
-% $Id: CgCase.lhs,v 1.38 2000/03/23 17:45:19 simonpj Exp $
+% $Id: CgCase.lhs,v 1.39 2000/03/25 12:38:40 panne Exp $
 %
 %********************************************************
 %*                                                     *
@@ -62,6 +62,7 @@ import TyCon          ( TyCon, isEnumerationTyCon, isUnboxedTupleTyCon,
                          tyConDataCons, tyConFamilySize )
 import Type            ( Type, typePrimRep, splitAlgTyConApp, 
                          splitTyConApp_maybe, repType )
+import PprType          ( {- instance Outputable Type -} )
 import Unique           ( Unique, Uniquable(..), mkPseudoUnique1 )
 import Maybes          ( maybeToBool )
 import Util
index 78e8a30..9c8dfd3 100644 (file)
@@ -1,7 +1,7 @@
 %
 % (c) The GRASP/AQUA Project, Glasgow University, 1992-1998
 %
-% $Id: CgExpr.lhs,v 1.31 2000/03/23 17:45:19 simonpj Exp $
+% $Id: CgExpr.lhs,v 1.32 2000/03/25 12:38:40 panne Exp $
 %
 %********************************************************
 %*                                                     *
@@ -48,6 +48,7 @@ import PrimRep                ( getPrimRepSize, PrimRep(..), isFollowableRep )
 import TyCon           ( maybeTyConSingleCon,
                          isUnboxedTupleTyCon, isEnumerationTyCon )
 import Type            ( Type, typePrimRep, splitTyConApp_maybe, repType )
+import PprType          ( {- instance Outputable Type -} )
 import Maybes          ( assocMaybe, maybeToBool )
 import Unique          ( mkBuiltinUnique )
 import BasicTypes      ( TopLevelFlag(..), RecFlag(..) )
index 7881f4a..c1e66ac 100644 (file)
@@ -40,6 +40,7 @@ import Type           ( Type, Kind, tyVarsOfType,
                          isUnboxedTupleType,
                          hasMoreBoxityInfo
                        )
+import PprType          ( {- instance Outputable Type -} )
 import TyCon           ( TyCon, isPrimTyCon, tyConDataCons )
 import BasicTypes      ( RecFlag(..), isNonRec )
 import Outputable
index 35722fa..7752c42 100644 (file)
@@ -33,6 +33,7 @@ import CallConv
 import Type            ( isUnLiftedType, splitAlgTyConApp_maybe, mkFunTys,
                          splitTyConApp_maybe, tyVarsOfType, mkForAllTys, Type
                        )
+import PprType          ( {- instance Outputable Type -} )
 import TysPrim         ( byteArrayPrimTy, realWorldStatePrimTy,
                          byteArrayPrimTyCon, mutableByteArrayPrimTyCon )
 import TysWiredIn      ( unitDataConId, stringTy,
index 70e5489..a4c50c0 100644 (file)
@@ -43,6 +43,7 @@ import Type           ( splitFunTys, mkTyConApp,
                          isNotUsgTy, unUsgTy,
                          splitAppTy, isUnLiftedType, Type
                        )
+import PprType          ( {- instance Outputable Type -} )
 import TysWiredIn      ( tupleCon, unboxedTupleCon,
                          listTyCon, mkListTy,
                          charDataCon, charTy, stringTy,
index 2766fa9..f156660 100644 (file)
@@ -36,6 +36,7 @@ import Type           ( splitAlgTyConApp_maybe,  unUsgTy,
                          Type, mkFunTys, mkForAllTys, mkTyConApp,
                          mkTyVarTy, mkFunTy, splitAppTy
                        )
+import PprType          ( {- instance Outputable Type -} )
 import PrimOp          ( PrimOp(..), CCall(..), CCallTarget(..) )
 import Var             ( TyVar )
 import TysPrim         ( realWorldStatePrimTy, addrPrimTy )
index 3fee836..4f8e25c 100644 (file)
@@ -36,6 +36,7 @@ import SimplMonad
 import Type            ( Type, tyVarsOfType, tyVarsOfTypes, mkForAllTys, seqType,
                          splitTyConApp_maybe, splitAlgTyConApp_maybe, mkTyVarTys, applyTys, splitFunTys, mkFunTys
                        )
+import PprType          ( {- instance Outputable Type -} )
 import DataCon         ( dataConRepArity )
 import TysPrim         ( statePrimTyCon )
 import Var             ( setVarUnique )
index 3154df7..81799e5 100644 (file)
@@ -21,6 +21,7 @@ import Type           ( Type, mkTyVarTy, splitSigmaTy, splitFunTysN,
                          tyVarsOfType, tyVarsOfTypes, tyVarsOfTheta, applyTys,
                          mkForAllTys, boxedTypeKind
                        )
+import PprType          ( {- instance Outputable Type -} )
 import Subst           ( Subst, mkSubst, substTy, emptySubst, substBndrs, extendSubstList,
                          substId, substAndCloneId, substAndCloneIds, lookupIdSubst
                        ) 
index c0300a5..c7c126d 100644 (file)
@@ -22,6 +22,7 @@ import ErrUtils               ( ErrMsg, Message, addErrLocHdrLine, pprBagOfErrors, dontAddErr
 import Type            ( mkFunTys, splitFunTys, splitAlgTyConApp_maybe, 
                          isUnLiftedType, isTyVarTy, splitForAllTys, Type
                        )
+import PprType          ( {- instance Outputable Type -} )
 import TyCon           ( TyCon, isDataTyCon )
 import Util            ( zipEqual )
 import Outputable
index 759c174..429d24f 100644 (file)
@@ -53,6 +53,7 @@ import PrimOp         ( PrimOp )
 import PrimRep         ( PrimRep(..) )
 import Outputable
 import Type             ( Type )
+import PprType          ( {- instance Outputable Type -} )
 import UniqSet         ( isEmptyUniqSet, uniqSetToList, UniqSet )
 \end{code}
 
index b52ef1f..69bde88 100644 (file)
@@ -54,6 +54,7 @@ import Type           ( mkTyVarTy, tyVarsOfTypes, mkTyConApp,
                          mkPredTy, splitRhoTy, mkForAllTy, isUnLiftedType, 
                          isUnboxedType, unboxedTypeKind, boxedTypeKind
                        )
+import PprType          ( {- instance Outputable Type -} )
 import FunDeps         ( tyVarFunDep, oclose )
 import Var             ( TyVar, tyVarKind )
 import VarSet
index 3c39da1..be02521 100644 (file)
@@ -57,6 +57,7 @@ import Type           ( Type, ThetaType, ClassContext,
                          mkSigmaTy, mkForAllTys, mkClassPred, classesOfPreds,
                          boxedTypeKind, mkArrowKind
                        )
+import PprType          ( {- instance Outputable Type -} )
 import Var             ( tyVarKind, TyVar )
 import VarSet          ( mkVarSet )
 import TyCon           ( mkAlgTyCon )
index 156a180..c929ed1 100644 (file)
@@ -51,6 +51,7 @@ import Type           ( TauType, mkTyVarTys, mkTyConApp,
                          mkSigmaTy, mkDictTy, isUnboxedType,
                          splitAlgTyConApp, classesToPreds
                        )
+import PprType          ( {- instance Outputable Type -} )
 import TysWiredIn      ( voidTy )
 import Var             ( TyVar )
 import Unique          -- Keys stuff
index 58c73ab..27c6c14 100644 (file)
@@ -45,6 +45,7 @@ import Type           ( splitFunTys
                        , isForAllTy
                        , mkForAllTys
                        )
+import PprType          ( {- instance Outputable Type -} )
 
 import TysWiredIn      ( isFFIArgumentTy, isFFIResultTy, 
                          isFFIExternalTy, isAddrTy
index 88914ac..5cd7e05 100644 (file)
@@ -37,6 +37,7 @@ import DataCon                ( DataCon, dataConSig, dataConFieldLabels,
                        )
 import Id              ( Id, idType, isDataConWrapId_maybe )
 import Type            ( Type, isTauTy, mkTyConApp, mkClassPred, boxedTypeKind )
+import PprType          ( {- instance Outputable Type -} )
 import Subst           ( substTy, substClasses )
 import TysPrim         ( charPrimTy, intPrimTy, floatPrimTy,
                          doublePrimTy, addrPrimTy