From 653d17bdd57ec8ca9b11b19e45860982bd1e7c9e Mon Sep 17 00:00:00 2001 From: Sylvain Henry Date: Fri, 15 May 2020 11:19:40 +0200 Subject: Rename Package into Unit (2) * rename PackageState into UnitState * rename findWiredInPackages into findWiredInUnits * rename lookupModuleInAll[Packages,Units] * etc. --- compiler/GHC/Unit/Module/Location.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/GHC/Unit/Module/Location.hs') diff --git a/compiler/GHC/Unit/Module/Location.hs b/compiler/GHC/Unit/Module/Location.hs index 7518bd63e8..6f239227f0 100644 --- a/compiler/GHC/Unit/Module/Location.hs +++ b/compiler/GHC/Unit/Module/Location.hs @@ -17,7 +17,7 @@ import GHC.Utils.Outputable -- Where a module lives on the file system: the actual locations -- of the .hs, .hi and .o files, if we have them. -- --- For a module in another package, the ml_hs_file and ml_obj_file components of +-- For a module in another unit, the ml_hs_file and ml_obj_file components of -- ModLocation are undefined. -- -- The locations specified by a ModLocation may or may not @@ -40,7 +40,7 @@ data ModLocation -- ^ Where the .o file is, whether or not it exists yet. -- (might not exist either because the module hasn't -- been compiled yet, or because it is part of a - -- package with a .a file) + -- unit with a .a file) ml_hie_file :: FilePath -- ^ Where the .hie file is, whether or not it exists -- cgit v1.2.1