summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>2006-09-19 18:09:48 +0000
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>2006-09-19 18:09:48 +0000
commit7121d8296720cf1a79259350f361f5771210b23d (patch)
treefb1c2eb85ce0d6e79dc9c66c7e040b36e0faff9c /compiler
parenta43af120cd6317d6b8269ff7811c60ed23ac10c2 (diff)
downloadhaskell-7121d8296720cf1a79259350f361f5771210b23d.tar.gz
Adapt TcRnDriver to moved tyThingToIfaceDecl
Diffstat (limited to 'compiler')
-rw-r--r--compiler/iface/MkIface.lhs4
-rw-r--r--compiler/typecheck/TcRnDriver.lhs3
2 files changed, 5 insertions, 2 deletions
diff --git a/compiler/iface/MkIface.lhs b/compiler/iface/MkIface.lhs
index be6b8ec0b2..fa91a0ac19 100644
--- a/compiler/iface/MkIface.lhs
+++ b/compiler/iface/MkIface.lhs
@@ -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}
diff --git a/compiler/typecheck/TcRnDriver.lhs b/compiler/typecheck/TcRnDriver.lhs
index a7e73353f4..9e1bfb97a5 100644
--- a/compiler/typecheck/TcRnDriver.lhs
+++ b/compiler/typecheck/TcRnDriver.lhs
@@ -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 )