X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fghci%2FInteractiveUI.hs;h=ff794d0089f16dbbdd3fba5b313d02aef0d3d404;hp=2be47c312e321114659f280cf5e362808ab87803;hb=1a7d1b77334529ca96ed4cbc03fcb5f55dc2de4a;hpb=e932508283461bfc5b6658a374fd6e9126979e49 diff --git a/compiler/ghci/InteractiveUI.hs b/compiler/ghci/InteractiveUI.hs index 2be47c3..ff794d0 100644 --- a/compiler/ghci/InteractiveUI.hs +++ b/compiler/ghci/InteractiveUI.hs @@ -1448,7 +1448,7 @@ getCommonPrefix (s:ss) = foldl common s ss allExposedModules :: DynFlags -> [ModuleName] allExposedModules dflags - = map GHC.mkModuleName (concat (map exposedModules (filter exposed (eltsUFM pkg_db)))) + = concat (map exposedModules (filter exposed (eltsUFM pkg_db))) where pkg_db = pkgIdMap (pkgState dflags) #else