summaryrefslogtreecommitdiff
path: root/compiler/GHC/Unit/Module.hs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/GHC/Unit/Module.hs')
-rw-r--r--compiler/GHC/Unit/Module.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/GHC/Unit/Module.hs b/compiler/GHC/Unit/Module.hs
index b9813b95f5..7ae0059b71 100644
--- a/compiler/GHC/Unit/Module.hs
+++ b/compiler/GHC/Unit/Module.hs
@@ -18,7 +18,7 @@ module GHC.Unit.Module
( module GHC.Unit.Types
-- * The ModuleName type
- , module GHC.Unit.Module.Name
+ , module Language.Haskell.Syntax.Module.Name
-- * The ModLocation type
, module GHC.Unit.Module.Location
@@ -47,11 +47,12 @@ import GHC.Prelude
import GHC.Types.Unique.DSet
import GHC.Unit.Types
-import GHC.Unit.Module.Name
import GHC.Unit.Module.Location
import GHC.Unit.Module.Env
import GHC.Utils.Misc
+import Language.Haskell.Syntax.Module.Name
+
-- | A 'Module' is definite if it has no free holes.
moduleIsDefinite :: Module -> Bool
moduleIsDefinite = isEmptyUniqDSet . moduleFreeHoles