[commit: ghc] master: Better document behavior of -Wmissed-specialisations (6e2658f)
git at git.haskell.org
git at git.haskell.org
Mon Jan 25 15:03:55 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/6e2658f67bcdbc7fd0ebd2ef6abcd13a6bec80bc/ghc
>---------------------------------------------------------------
commit 6e2658f67bcdbc7fd0ebd2ef6abcd13a6bec80bc
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
>---------------------------------------------------------------
6e2658f67bcdbc7fd0ebd2ef6abcd13a6bec80bc
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