[commit: ghc] ghc-8.0: Better document behavior of -Wmissed-specialisations (f31372c)

git at git.haskell.org git at git.haskell.org
Mon Jan 25 15:58:17 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/f31372cdca4fdc809dff5c97c07994a23d977c67/ghc

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

commit f31372cdca4fdc809dff5c97c07994a23d977c67
Author: Ben Gamari <bgamari.foss at gmail.com>
Date:   Mon Jan 25 15:18:04 2016 +0100

    Better document behavior of -Wmissed-specialisations
    
    Test Plan: Read it
    
    Reviewers: austin
    
    Subscribers: thomie
    
    Differential Revision: https://phabricator.haskell.org/D1829
    
    (cherry picked from commit 6e2658f67bcdbc7fd0ebd2ef6abcd13a6bec80bc)


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

f31372cdca4fdc809dff5c97c07994a23d977c67
 docs/users_guide/using-warnings.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst
index de8be63..4f9a741 100644
--- a/docs/users_guide/using-warnings.rst
+++ b/docs/users_guide/using-warnings.rst
@@ -19,7 +19,6 @@ generally likely to indicate bugs in your program. These are:
     * :ghc-flag:`-Wwarnings-deprecations`
     * :ghc-flag:`-Wdeprecated-flags`
     * :ghc-flag:`-Wunrecognised-pragmas`
-    * :ghc-flag:`-Wmissed-specialisations`
     * :ghc-flag:`-Wduplicate-constraints`
     * :ghc-flag:`-Wduplicate-exports`
     * :ghc-flag:`-Woverflowed-literals`
@@ -180,6 +179,8 @@ of ``-W(no-)*``.
     that is marked as ``INLINEABLE`` (presumably to enable specialisation) cannot
     be specialised as it calls other functions that are themselves not specialised.
 
+    Note that these warnings will not throw errors if used with :ghc-flag:`-Werror`.
+
     These options are both off by default.
 
 .. ghc-flag:: -Wwarnings-deprecations



More information about the ghc-commits mailing list