[commit: ghc] master: [docs] Add missed specialisations warnings to list of those not enabled by -Wall (24b76d1)

git at git.haskell.org git at git.haskell.org
Mon Aug 6 22:29:58 UTC 2018


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/24b76d1bef7e61791907fbd063f85643eeb1211a/ghc

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

commit 24b76d1bef7e61791907fbd063f85643eeb1211a
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)


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

24b76d1bef7e61791907fbd063f85643eeb1211a
 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 8d09b44..2d28fdd 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