[project @ 2003-02-06 19:39:35 by tgedell]
authortgedell <unknown>
Thu, 6 Feb 2003 19:39:37 +0000 (19:39 +0000)
committertgedell <unknown>
Thu, 6 Feb 2003 19:39:37 +0000 (19:39 +0000)
Changed so that PredType is declared as a type and not a datatype,
this caused a problem when generating external Core.
Added SourceType as a datatype since PredType refers to it.

ghc/compiler/types/TypeRep.hi-boot
ghc/compiler/types/TypeRep.hi-boot-5
ghc/compiler/types/TypeRep.hi-boot-6

index c9fc223..c101eb6 100644 (file)
@@ -1,8 +1,9 @@
 _interface_ TypeRep 1
-_exports_ TypeRep Type PredType Kind SuperKind ;
+_exports_ TypeRep Type SourceType PredType Kind SuperKind ;
 _declarations_
 1 data Type ;
-1 data PredType ;
+1 data SourceType ;
+1 type PredType = SourceType ;
 1 type Kind = Type ;
 1 type SuperKind = Type ;
 
index 5679aa8..8de82fc 100644 (file)
@@ -1,7 +1,8 @@
 __interface TypeRep 1 0 where
-__export TypeRep Type PredType Kind SuperKind ;
+__export TypeRep Type SourceType PredType Kind SuperKind ;
 1 data Type ;
-1 data PredType ;
+1 data SourceType ;
+1 type PredType = SourceType ;
 1 type Kind = Type ;
 1 type SuperKind = Type ;
 
index c3c89b0..5fdbdf5 100644 (file)
@@ -1,6 +1,7 @@
 module TypeRep where
 
 data Type
-data PredType
+data SourceType
+type PredType = SourceType
 type Kind = Type
 type SuperKind = Type