diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2021-01-29 20:05:14 +0100 |
---|---|---|
committer | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2021-01-30 21:11:21 +0100 |
commit | 14c4f7014d1bbdf51a79745821fcfc39e7db0ec9 (patch) | |
tree | 45443e15d5e1e862ae5c9838dfc0b0c51fa2318e /docs/users_guide/using-warnings.rst | |
parent | eb90d23911ee10868dc2c7cc27a8397f0ae9b41d (diff) | |
download | haskell-14c4f7014d1bbdf51a79745821fcfc39e7db0ec9.tar.gz |
Documentation fixes
- Add missing :since: for NondecreasingIndentation and OverlappingInstances
- Remove duplicated descriptions for Safe Haskell flags and
UndecidableInstances. Instead, the sections contain a link.
- compare-flags: Also check for options supported by ghci.
This uncovered two more that are not documented.
The flag -smp was removed.
- Formatting fixes
- Remove the warning about -XNoImplicitPrelude - it was written in 1996,
the extension is no longer dangerous.
- Fix misspelled :reverse: flags
Fixes #18958.
Diffstat (limited to 'docs/users_guide/using-warnings.rst')
-rw-r--r-- | docs/users_guide/using-warnings.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst index 400db598ca..9b7f625bb6 100644 --- a/docs/users_guide/using-warnings.rst +++ b/docs/users_guide/using-warnings.rst @@ -640,7 +640,7 @@ of ``-W(no-)*``. .. ghc-flag:: -Wdodgy-foreign-imports :shortdesc: warn about dodgy foreign imports :type: dynamic - :reverse: -Wno-dodgy-foreign-import + :reverse: -Wno-dodgy-foreign-imports :category: Causes a warning to be emitted for foreign imports of the following @@ -1007,7 +1007,7 @@ of ``-W(no-)*``. :shortdesc: warn when a module declaration does not explicitly list all exports :type: dynamic - :reverse: -fnowarn-missing-export-lists + :reverse: -Wno-missing-export-lists :category: :since: 8.4.1 @@ -1032,7 +1032,7 @@ of ``-W(no-)*``. :shortdesc: warn when an import declaration does not explicitly list all the names brought into scope :type: dynamic - :reverse: -fnowarn-missing-import-lists + :reverse: -Wno-missing-import-lists :category: .. index:: |