diff options
author | Matthew Pickering <matthewtpickering@gmail.com> | 2022-02-03 17:15:05 +0000 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-02-08 05:28:42 -0500 |
commit | 38c6e301165777b88cc172aafed1b33d6f42099b (patch) | |
tree | bb97c29f4d2701c32811ae98e7ea523da0bc0a2a /compiler/GHC/Unit | |
parent | bc5cbce61b57f57cadf5c25fa3e60cf34c3b98ea (diff) | |
download | haskell-38c6e301165777b88cc172aafed1b33d6f42099b.tar.gz |
Fix some notes
Diffstat (limited to 'compiler/GHC/Unit')
-rw-r--r-- | compiler/GHC/Unit/Info.hs | 2 | ||||
-rw-r--r-- | compiler/GHC/Unit/Module/Deps.hs | 2 | ||||
-rw-r--r-- | compiler/GHC/Unit/State.hs | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/compiler/GHC/Unit/Info.hs b/compiler/GHC/Unit/Info.hs index b8a238927b..db00a9b91a 100644 --- a/compiler/GHC/Unit/Info.hs +++ b/compiler/GHC/Unit/Info.hs @@ -59,7 +59,7 @@ import Data.List (isPrefixOf, stripPrefix) -- * UnitId: identifier used to generate code (cf 'UnitInfo') -- -- These two identifiers are different for wired-in packages. See Note [About --- Units] in "GHC.Unit" +-- units] in "GHC.Unit" type GenUnitInfo unit = GenericUnitInfo PackageId PackageName unit ModuleName (GenModule (GenUnit unit)) -- | Information about an installed unit (units are identified by their database diff --git a/compiler/GHC/Unit/Module/Deps.hs b/compiler/GHC/Unit/Module/Deps.hs index 3a59703f88..0bab72763b 100644 --- a/compiler/GHC/Unit/Module/Deps.hs +++ b/compiler/GHC/Unit/Module/Deps.hs @@ -420,7 +420,7 @@ hash of the module. The export hash is computed in `GHC.Iface.Recomp.addFingerpr -} {- -Note [Structure of mod_boot_deps] +Note [Structure of dep_boot_deps] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In `-c` mode we always need to know whether to load the normal or boot version of diff --git a/compiler/GHC/Unit/State.hs b/compiler/GHC/Unit/State.hs index 3e74ae9936..cda5c80963 100644 --- a/compiler/GHC/Unit/State.hs +++ b/compiler/GHC/Unit/State.hs @@ -2173,7 +2173,7 @@ instUnitToUnit state iuid = type ShHoleSubst = ModuleNameEnv Module -- | Substitutes holes in a 'Module'. NOT suitable for being called --- directly on a 'nameModule', see Note [Representation of module/name variable]. +-- directly on a 'nameModule', see Note [Representation of module/name variables]. -- @p[A=\<A>]:B@ maps to @p[A=q():A]:B@ with @A=q():A@; -- similarly, @\<A>@ maps to @q():A@. renameHoleModule :: UnitState -> ShHoleSubst -> Module -> Module |