summaryrefslogtreecommitdiff
path: root/ghc
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-01-02 19:13:44 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-01-06 18:39:22 -0500
commit99a9f51bf8207c79241fc0b685fadeb222a61292 (patch)
tree63daf74031c47b7a680477a21bba505bf2d32701 /ghc
parent5ffea0c6c6a2670fd6819540f3ea61ce6620caaa (diff)
downloadhaskell-99a9f51bf8207c79241fc0b685fadeb222a61292.tar.gz
Module hierarchy: Iface (cf #13009)
Diffstat (limited to 'ghc')
-rw-r--r--ghc/GHCi/UI.hs2
-rw-r--r--ghc/Main.hs4
2 files changed, 3 insertions, 3 deletions
diff --git a/ghc/GHCi/UI.hs b/ghc/GHCi/UI.hs
index ba873d73ed..51fe3d0431 100644
--- a/ghc/GHCi/UI.hs
+++ b/ghc/GHCi/UI.hs
@@ -58,7 +58,7 @@ import Module
import Name
import Packages ( trusted, getPackageDetails, getInstalledPackageDetails,
listVisibleModuleNames, pprFlag )
-import IfaceSyn ( showToHeader )
+import GHC.Iface.Syntax ( showToHeader )
import PprTyThing
import PrelNames
import RdrName ( getGRE_NameQualifier_maybes, getRdrName )
diff --git a/ghc/Main.hs b/ghc/Main.hs
index b66f567d2f..9f6ab1e132 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -23,7 +23,7 @@ import GHC ( -- DynFlags(..), HscTarget(..),
import CmdLineParser
-- Implementations of the various modes (--show-iface, mkdependHS. etc.)
-import LoadIface ( showIface )
+import GHC.Iface.Load ( showIface )
import HscMain ( newHscEnv )
import DriverPipeline ( oneShot, compileFile )
import DriverMkDepend ( doMkDependHS )
@@ -64,7 +64,7 @@ import UniqSupply
import MonadUtils ( liftIO )
-- Imports for --abi-hash
-import LoadIface ( loadUserInterface )
+import GHC.Iface.Load ( loadUserInterface )
import Module ( mkModuleName )
import Finder ( findImportedModule, cannotFindModule )
import TcRnMonad ( initIfaceCheck )