summaryrefslogtreecommitdiff
path: root/ghc/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/Main.hs')
-rw-r--r--ghc/Main.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ghc/Main.hs b/ghc/Main.hs
index b1c45e9cc4..5e6042173f 100644
--- a/ghc/Main.hs
+++ b/ghc/Main.hs
@@ -53,6 +53,7 @@ import GHC.Types.Basic ( failed )
import GHC.Types.SrcLoc
import GHC.Types.SourceError
import GHC.Types.Unique.Supply
+import GHC.Types.PkgQual
import GHC.Utils.Error
import GHC.Utils.Misc
@@ -881,7 +882,7 @@ abiHash strs = do
let find_it str = do
let modname = mkModuleName str
- r <- findImportedModule fc fopts units home_unit modname Nothing
+ r <- findImportedModule fc fopts units home_unit modname NoPkgQual
case r of
Found _ m -> return m
_error -> throwGhcException $ CmdLineError $ showSDoc dflags $