Adapt TcRnDriver to moved tyThingToIfaceDecl
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Tue, 19 Sep 2006 18:09:48 +0000 (18:09 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Tue, 19 Sep 2006 18:09:48 +0000 (18:09 +0000)
compiler/iface/MkIface.lhs
compiler/typecheck/TcRnDriver.lhs

index be6b8ec..fa91a0a 100644 (file)
@@ -11,8 +11,10 @@ module MkIface (
 
        writeIfaceFile, -- Write the interface file
 
-       checkOldIface   -- See if recompilation is required, by
+       checkOldIface,  -- See if recompilation is required, by
                        -- comparing version information
+
+        tyThingToIfaceDecl -- Converting things to their Iface equivalents
  ) where
 \end{code}
 
index a7e7335..9e1bfb9 100644 (file)
@@ -48,7 +48,8 @@ import TcRules                ( tcRules )
 import TcForeign       ( tcForeignImports, tcForeignExports )
 import TcInstDcls      ( tcInstDecls1, tcInstDecls2 )
 import TcIface         ( tcExtCoreBindings, tcHiBootIface )
-import IfaceSyn                ( checkBootDecl, tyThingToIfaceDecl, IfaceExtName(..) )
+import MkIface         ( tyThingToIfaceDecl )
+import IfaceSyn                ( checkBootDecl, IfaceExtName(..) )
 import TcSimplify      ( tcSimplifyTop )
 import TcTyClsDecls    ( tcTyAndClassDecls )
 import LoadIface       ( loadOrphanModules )