summaryrefslogtreecommitdiff
path: root/ghc/Main.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-03-18 10:44:56 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2020-03-29 17:28:51 -0400
commit1941ef4f050c0dfcb68229641fcbbde3a10f1072 (patch)
tree8e25a61af77696d3022d35cc277b5db5af540f03 /ghc/Main.hs
parent1c446220250dcada51d4bb33a0cc7d8ce572e8b6 (diff)
downloadhaskell-1941ef4f050c0dfcb68229641fcbbde3a10f1072.tar.gz
Modules: Types (#13009)
Update Haddock submodule Metric Increase: haddock.compiler
Diffstat (limited to 'ghc/Main.hs')
-rw-r--r--ghc/Main.hs11
1 files changed, 5 insertions, 6 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs
index 1ad2a26e86..3cec5b6191 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -39,7 +39,7 @@ import GHC.Driver.Plugins
#if defined(HAVE_INTERNAL_INTERPRETER)
import GHC.Runtime.Loader ( initializePlugins )
#endif
-import Module ( ModuleName )
+import GHC.Types.Module ( ModuleName, mkModuleName )
-- Various other random stuff that we need
@@ -51,22 +51,21 @@ import Constants
import GHC.Driver.Types
import GHC.Driver.Packages ( pprPackages, pprPackagesSimple )
import GHC.Driver.Phases
-import BasicTypes ( failed )
+import GHC.Types.Basic ( failed )
import GHC.Driver.Session hiding (WarnReason(..))
import ErrUtils
import FastString
import Outputable
import SysTools.BaseDir
import SysTools.Settings
-import SrcLoc
+import GHC.Types.SrcLoc
import Util
import Panic
-import UniqSupply
+import GHC.Types.Unique.Supply
import MonadUtils ( liftIO )
-- Imports for --abi-hash
-import GHC.Iface.Load ( loadUserInterface )
-import Module ( mkModuleName )
+import GHC.Iface.Load ( loadUserInterface )
import GHC.Driver.Finder ( findImportedModule, cannotFindModule )
import TcRnMonad ( initIfaceCheck )
import Binary ( openBinMem, put_ )