summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Abel <andreas.abel@ifi.lmu.de>2021-07-25 19:46:01 +0200
committerZubin Duggal <zubin.duggal@gmail.com>2021-12-17 14:31:11 +0530
commit0107e9a2dc31a5f5bba6c46bb5a07a2b16549af4 (patch)
tree023235ba9fec7e9eada1b3880d73b6715d551a52
parent5e8eccf0613153a0a045087315e7d8bae1c9a1da (diff)
downloadhaskell-0107e9a2dc31a5f5bba6c46bb5a07a2b16549af4.tar.gz
Doc: warnings: since: remove minor version number for uniformity
New warnings are only released in major versions, it seems. One way or the other, a .1 minor version can always be dropped. (cherry picked from commit ebcdf3fa6e94127e95d0fce75a36989e0e2bf7ee) (cherry picked from commit 3aaa8989b2f040965d5e34c890f85f7aa6d85b96)
-rw-r--r--docs/users_guide/using-warnings.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index 9970d059e8..7ba4244bd7 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -927,7 +927,7 @@ of ``-W(no-)*``.
:reverse: -Wno-missing-deriving-strategies
:category:
- :since: 8.8.1
+ :since: 8.8
The datatype below derives the ``Eq`` typeclass, but doesn't specify a
strategy. When :ghc-flag:`-Wmissing-deriving-strategies` is enabled,
@@ -965,7 +965,7 @@ of ``-W(no-)*``.
:reverse: -fnowarn-missing-export-lists
:category:
- :since: 8.4.1
+ :since: 8.4
.. index::
single: missing export lists, warning
@@ -1612,7 +1612,7 @@ of ``-W(no-)*``.
:reverse: -Wno-unused-record-wildcards
:category:
- :since: 8.10.1
+ :since: 8.10
.. index::
single: unused, warning, record wildcards
@@ -1628,13 +1628,14 @@ of ``-W(no-)*``.
would report that the ``P{..}`` match is unused.
+
.. ghc-flag:: -Wredundant-record-wildcards
:shortdesc: Warn about record wildcard matches when the wildcard binds no patterns.
:type: dynamic
:reverse: -Wno-redundant-record-wildcards
:category:
- :since: 8.10.1
+ :since: 8.10
.. index::
single: unused, warning, record wildcards