summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/main/DynFlags.hs3
-rw-r--r--docs/users_guide/using-warnings.rst16
2 files changed, 0 insertions, 19 deletions
diff --git a/compiler/main/DynFlags.hs b/compiler/main/DynFlags.hs
index b10740b56c..2ecbd6efb5 100644
--- a/compiler/main/DynFlags.hs
+++ b/compiler/main/DynFlags.hs
@@ -772,7 +772,6 @@ data WarningFlag =
| Opt_WarnUnusedForalls
| Opt_WarnWarningsDeprecations
| Opt_WarnDeprecatedFlags
- | Opt_WarnAMP -- Introduced in GHC 7.8, obsolete since 7.10
| Opt_WarnMissingMonadFailInstances -- since 8.0
| Opt_WarnSemigroup -- since 8.0
| Opt_WarnDodgyExports
@@ -3774,8 +3773,6 @@ wWarningFlagsDeps = [
-- Please keep the list of flags below sorted alphabetically
flagSpec "alternative-layout-rule-transitional"
Opt_WarnAlternativeLayoutRuleTransitional,
- depFlagSpec "amp" Opt_WarnAMP
- "it has no effect",
depFlagSpec "auto-orphans" Opt_WarnAutoOrphans
"it has no effect",
flagSpec "cpp-undef" Opt_WarnCPPUndef,
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index 510b56ad80..575e28119f 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -410,22 +410,6 @@ of ``-W(no-)*``.
This option is on by default.
-.. ghc-flag:: -Wamp
- :shortdesc: *(deprecated)* warn on definitions conflicting with the
- Applicative-Monad Proposal (AMP)
- :type: dynamic
- :reverse: -Wno-amp
- :category:
-
- .. index::
- single: AMP
- single: Applicative-Monad Proposal
-
- This option is deprecated.
-
- Caused a warning to be emitted when a definition was in conflict with
- the AMP (Applicative-Monad proosal).
-
.. ghc-flag:: -Wnoncanonical-monad-instances
:shortdesc: warn when ``Applicative`` or ``Monad`` instances have
noncanonical definitions of ``return``, ``pure``, ``(>>)``,