summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Gundry <adam@well-typed.com>2023-01-12 08:10:19 +0000
committerAdam Gundry <adam@well-typed.com>2023-01-12 08:10:55 +0000
commit5acd03c045e377b7e6d3d54dcce232962e784c98 (patch)
tree324e8d24b84601e87577613104d6143eb94c85c0
parentd17327a9a92ee32a861967bfc6e2d1b52ea1aea7 (diff)
downloadhaskell-5acd03c045e377b7e6d3d54dcce232962e784c98.tar.gz
Minor corrections to comments
-rw-r--r--compiler/GHC/Driver/Flags.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/GHC/Driver/Flags.hs b/compiler/GHC/Driver/Flags.hs
index 9ea16469a2..82256ae58a 100644
--- a/compiler/GHC/Driver/Flags.hs
+++ b/compiler/GHC/Driver/Flags.hs
@@ -49,7 +49,7 @@ instance NFData Language where
-- | Debugging flags
data DumpFlag
--- See Note [Updating flag description in the User's Guide]
+-- See Note [Updating flag description in the User's Guide] in GHC.Driver.Session
-- debugging flags
= Opt_D_dump_cmm
@@ -196,7 +196,7 @@ enabledIfVerbose _ = True
-- | Enumerates the simple on-or-off dynamic flags
data GeneralFlag
--- See Note [Updating flag description in the User's Guide]
+-- See Note [Updating flag description in the User's Guide] in GHC.Driver.Session
= Opt_DumpToFile -- ^ Append dump output to files instead of stdout.
| Opt_DumpWithWays -- ^ Use foo.ways.<dumpFlag> instead of foo.<dumpFlag>
@@ -533,7 +533,7 @@ optimisationFlags = EnumSet.fromList
]
data WarningFlag =
--- See Note [Updating flag description in the User's Guide]
+-- See Note [Updating flag description in the User's Guide] in GHC.Driver.Session
Opt_WarnDuplicateExports
| Opt_WarnDuplicateConstraints
| Opt_WarnRedundantConstraints
@@ -745,7 +745,7 @@ warnFlagNames wflag = case wflag of
-- Note [Documenting warning flags]
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
--- If you change the list of warning enabled by default
+-- If you change the list of warnings enabled by default
-- please remember to update the User's Guide. The relevant file is:
--
-- docs/users_guide/using-warnings.rst