diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-04-11 17:03:18 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-04-30 01:56:56 -0400 |
commit | 8bfb0219587b969d5c8f723c46d433e9493958b4 (patch) | |
tree | 7ed243039324e5a85905985589d7defd91543625 /ghc/Main.hs | |
parent | 10d15f1ec4bab4dd6152d87fc66e61658a705eb3 (diff) | |
download | haskell-8bfb0219587b969d5c8f723c46d433e9493958b4.tar.gz |
Unit: split and rename modules
Introduce GHC.Unit.* hierarchy for everything concerning units, packages
and modules.
Update Haddock submodule
Diffstat (limited to 'ghc/Main.hs')
-rw-r--r-- | ghc/Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs index a4cd897ab4..5e194369ca 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 GHC.Types.Module ( ModuleName, mkModuleName ) +import GHC.Unit.Module ( ModuleName, mkModuleName ) -- Various other random stuff that we need @@ -49,7 +49,7 @@ import GHC.Platform.Host import Config import GHC.Settings.Constants import GHC.Driver.Types -import GHC.Driver.Packages ( pprPackages, pprPackagesSimple ) +import GHC.Unit.State ( pprPackages, pprPackagesSimple ) import GHC.Driver.Phases import GHC.Types.Basic ( failed ) import GHC.Driver.Session hiding (WarnReason(..)) |