diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-05-15 11:19:40 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-06-13 02:13:03 -0400 |
commit | 653d17bdd57ec8ca9b11b19e45860982bd1e7c9e (patch) | |
tree | a97c6257385e77280c6818612d041b3395684403 /compiler/GHC/Runtime/Loader.hs | |
parent | 55b4263e1a53cc27b1da9227249bdcd20139ddc9 (diff) | |
download | haskell-653d17bdd57ec8ca9b11b19e45860982bd1e7c9e.tar.gz |
Rename Package into Unit (2)
* rename PackageState into UnitState
* rename findWiredInPackages into findWiredInUnits
* rename lookupModuleInAll[Packages,Units]
* etc.
Diffstat (limited to 'compiler/GHC/Runtime/Loader.hs')
-rw-r--r-- | compiler/GHC/Runtime/Loader.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Runtime/Loader.hs b/compiler/GHC/Runtime/Loader.hs index 8eb48881c9..5d286587ef 100644 --- a/compiler/GHC/Runtime/Loader.hs +++ b/compiler/GHC/Runtime/Loader.hs @@ -244,7 +244,7 @@ lessUnsafeCoerce dflags context what = do lookupRdrNameInModuleForPlugins :: HscEnv -> ModuleName -> RdrName -> IO (Maybe (Name, ModIface)) lookupRdrNameInModuleForPlugins hsc_env mod_name rdr_name = do - -- First find the package the module resides in by searching exposed packages and home modules + -- First find the unit the module resides in by searching exposed units and home modules found_module <- findPluginModule hsc_env mod_name case found_module of Found _ mod -> do |