summaryrefslogtreecommitdiff
path: root/compiler/main/DynFlags.hs
diff options
context:
space:
mode:
authorDavid Luposchainsky <dluposchainsky@gmail.com>2015-11-18 23:12:47 +0100
committerBen Gamari <ben@smart-cactus.org>2015-11-18 23:12:48 +0100
commita41830f2e82dd25a7bc9f1bc5e5b02cb0496c8f2 (patch)
tree14e102dfd938ede485b911f60ccab79795285510 /compiler/main/DynFlags.hs
parent971f2c9ddc4b1e3f2cfc2dbce7f0825448b975fd (diff)
downloadhaskell-a41830f2e82dd25a7bc9f1bc5e5b02cb0496c8f2.tar.gz
Mention "-XMonadFailDesugaring" in the docs
Reviewers: austin, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1496
Diffstat (limited to 'compiler/main/DynFlags.hs')
-rw-r--r--compiler/main/DynFlags.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index 655998e757..014a11ef7a 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -504,7 +504,7 @@ data WarningFlag =
| Opt_WarnContextQuantification
| Opt_WarnWarningsDeprecations
| Opt_WarnDeprecatedFlags
- | Opt_WarnAMP
+ | Opt_WarnAMP -- Introduced in GHC 7.8, obsolete since 7.10
| Opt_WarnMissingMonadFailInstance
| Opt_WarnDodgyExports
| Opt_WarnDodgyImports
@@ -2873,7 +2873,7 @@ fWarningFlags = [
flagSpec "warn-alternative-layout-rule-transitional"
Opt_WarnAlternativeLayoutRuleTransitional,
flagSpec' "warn-amp" Opt_WarnAMP
- (\_ -> deprecate "it has no effect, and will be removed in GHC 7.12"),
+ (\_ -> deprecate "it has no effect"),
flagSpec' "warn-auto-orphans" Opt_WarnAutoOrphans
(\_ -> deprecate "it has no effect"),
flagSpec "warn-deferred-type-errors" Opt_WarnDeferredTypeErrors,