From 7121d8296720cf1a79259350f361f5771210b23d Mon Sep 17 00:00:00 2001 From: Manuel M T Chakravarty Date: Tue, 19 Sep 2006 18:09:48 +0000 Subject: [PATCH] Adapt TcRnDriver to moved tyThingToIfaceDecl --- compiler/iface/MkIface.lhs | 4 +++- compiler/typecheck/TcRnDriver.lhs | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/compiler/iface/MkIface.lhs b/compiler/iface/MkIface.lhs index be6b8ec..fa91a0a 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 a7e7335..9e1bfb9 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 ) -- 1.7.10.4