import Parser
import Lexer ( P(..), ParseResult(..), mkPState, showPFailed )
import SrcLoc ( mkSrcLoc )
-import TcRnDriver ( tcRnModule, tcRnExtCore, tcRnIface )
+import TcRnDriver ( tcRnModule, tcRnExtCore )
+import TcIface ( typecheckIface )
import IfaceEnv ( initNameCache )
import LoadIface ( ifaceStats, initExternalPackageState )
import PrelInfo ( wiredInThings, basicKnownKeyNames )
import CodeOutput ( codeOutput )
import CmdLineOpts
-import DriverPhases ( isExtCore_file )
+import DriverPhases ( isExtCoreFilename )
import ErrUtils ( dumpIfSet, dumpIfSet_dyn, showPass )
import UniqSupply ( mkSplitUniqSupply )
showModMsg have_object mod location);
new_details <- _scc_ "tcRnIface"
- tcRnIface hsc_env old_iface ;
+ typecheckIface hsc_env old_iface ;
dumpIfaceStats hsc_env ;
return (HscNoRecomp new_details old_iface)
; let dflags = hsc_dflags hsc_env
; let toInterp = dopt_HscLang dflags == HscInterpreted
; let toCore = isJust (ml_hs_file location) &&
- isExtCore_file (fromJust (ml_hs_file location))
+ isExtCoreFilename (fromJust (ml_hs_file location))
; when (not one_shot && verbosity dflags >= 1) $
hPutStrLn stderr ("Compiling " ++