[Git][ghc/ghc][wip/jeltsch/more-efficient-home-unit-imports-finding] Move back the comment on finding reexported modules
Wolfgang Jeltsch pushed to branch wip/jeltsch/more-efficient-home-unit-imports-finding at Glasgow Haskell Compiler / GHC Commits: 5b81d2ca by Wolfgang Jeltsch at 2026-05-12T14:39:22+03:00 Move back the comment on finding reexported modules - - - - - 1 changed file: - compiler/GHC/Unit/Finder.hs Changes: ===================================== compiler/GHC/Unit/Finder.hs ===================================== @@ -230,12 +230,10 @@ findImportedModuleNoHsc fc fopts ue home_module_name_providers_map mb_home_unit Nothing -> pure $ NoPackage (panic "findImportedModule: no home-unit") - {- - If the module is reexported, then look for it as if it was from the - perspective of that package which reexports it. - -} home_pkg_import :: (UnitId, FinderOpts) -> IO FindResult home_pkg_import (uid, opts) + -- If the module is reexported, then look for it as if it was from the + -- perspective of that package which reexports it. | Just real_mod_name <- lookupUniqMap (finder_reexportedModules opts) mod_name = findImportedModuleNoHsc fc opts ue home_module_name_providers_map View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5b81d2ca0b537c5ee16d9ac42f28b2e8... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/5b81d2ca0b537c5ee16d9ac42f28b2e8... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Wolfgang Jeltsch (@jeltsch)