X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2Fmain%2FGHC.hs;h=e5cfffec935f370a724455ef55556bce923b0336;hb=24a3fee9f3ff6cef6fe471ab6f0a7ba9ac001faf;hp=f5320613ff753262e5b92a1b796dc056856f414e;hpb=d529d596a1256bb48bda45ec343631c879c8d56d;p=ghc-hetmet.git diff --git a/compiler/main/GHC.hs b/compiler/main/GHC.hs index f532061..e5cfffe 100644 --- a/compiler/main/GHC.hs +++ b/compiler/main/GHC.hs @@ -2432,7 +2432,7 @@ getPackageModuleInfo hsc_env mdl = do return (Just (ModuleInfo { minf_type_env = mkTypeEnv tys, minf_exports = names, - minf_rdr_env = Just $! nameSetToGlobalRdrEnv names (moduleName mdl), + minf_rdr_env = Just $! availsToGlobalRdrEnv (moduleName mdl) avails, minf_instances = error "getModuleInfo: instances for package module unimplemented", minf_modBreaks = emptyModBreaks }))