Skip to content
Snippets Groups Projects
Commit c90796ed authored by Mateusz Kowalczyk's avatar Mateusz Kowalczyk
Browse files

Revert "Track changes for module reexports."

This reverts commit b99b57c0.
parent 13d022e8
No related branches found
No related tags found
5 merge requests!38Make --no-tmp-comp-dir the default,!37Adapt to latest xhtml version, various optimizations,!31Support HsToken in DataDecl and ClassDecl,!12Drop orphan instance when defined upstream.,!10Haddock interfaces produced from `.hi` files
......@@ -45,7 +45,6 @@ import Bag
import RdrName
import TcRnTypes
import FastString (concatFS)
import UniqFM
-- | Use a 'TypecheckedModule' to produce an 'Interface'.
......@@ -171,9 +170,9 @@ lookupModuleDyn _ (Just pkgId) mdlName =
Module.mkModule pkgId mdlName
lookupModuleDyn dflags Nothing mdlName =
flip Module.mkModule mdlName $
case filter Packages.modConfExposed . eltsUFM $
case filter snd $
Packages.lookupModuleInAllPackages dflags mdlName of
m:_ -> Packages.packageConfigId (Packages.modConfPkg m)
(pkgId,_):_ -> Packages.packageConfigId pkgId
[] -> Module.mainPackageKey
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment