summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-01-18 10:11:04 +0100
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-01-22 14:57:36 -0500
commit1ff61314fae7a0ffb69e3cc2bc37f9715bf8c883 (patch)
tree9d8ff843a6129025c85460924b488563cff2db8c
parent6cfdca9f014895a9962e1d077719a96842383000 (diff)
downloadhaskell-1ff61314fae7a0ffb69e3cc2bc37f9715bf8c883.tar.gz
Fix wrong comment about UnitState
[CI skip]
-rw-r--r--compiler/GHC/Unit/State.hs6
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/GHC/Unit/State.hs b/compiler/GHC/Unit/State.hs
index ab76ad2426..d23bf9bd69 100644
--- a/compiler/GHC/Unit/State.hs
+++ b/compiler/GHC/Unit/State.hs
@@ -119,11 +119,7 @@ import qualified Data.Set as Set
-- ---------------------------------------------------------------------------
-- The Unit state
--- | Unit state is all stored in 'DynFlags', including the details of
--- all units, which units are exposed, and which modules they
--- provide.
---
--- The unit state is computed by 'initUnits', and kept in DynFlags.
+-- The unit state is computed by 'initUnits', and kept in HscEnv.
-- It is influenced by various command-line flags:
--
-- * @-package \<pkg>@ and @-package-id \<pkg>@ cause @\<pkg>@ to become exposed.