[commit: ghc] ghc-8.6: [docs] Add missed specialisations warnings to list of those not enabled by -Wall (8edc4b4)

git at git.haskell.org git at git.haskell.org
Tue Aug 7 12:30:33 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.6
Link       : http://ghc.haskell.org/trac/ghc/changeset/8edc4b4bac47d971b72b8ce62f847352cfe318e3/ghc

>---------------------------------------------------------------

commit 8edc4b4bac47d971b72b8ce62f847352cfe318e3
Author: Maximilian Tagher <feedback.tagher at gmail.com>
Date:   Sat Jul 28 14:04:16 2018 -0700

    [docs] Add missed specialisations warnings to list of those not enabled by -Wall
    
    Enabling `-Weverything` does enable those warnings.
    
    (cherry picked from commit b062bd10a88ea407ae91610f822f0c352909bcce)
    (cherry picked from commit 24b76d1bef7e61791907fbd063f85643eeb1211a)


>---------------------------------------------------------------

8edc4b4bac47d971b72b8ce62f847352cfe318e3
 docs/users_guide/using-warnings.rst | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index 21e6aef..2643f8f 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -82,6 +82,8 @@ The following flags are simple ways to select standard "packages" of warnings:
         * :ghc-flag:`-Widentities`
         * :ghc-flag:`-Wredundant-constraints`
         * :ghc-flag:`-Wpartial-fields`
+        * :ghc-flag:`-Wmissed-specialisations`
+        * :ghc-flag:`-Wall-missed-specialisations`
 
 .. ghc-flag:: -Weverything
     :shortdesc: enable all warnings supported by GHC



More information about the ghc-commits mailing list