diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-01-25 15:18:04 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-01-25 16:04:59 +0100 |
commit | 6e2658f67bcdbc7fd0ebd2ef6abcd13a6bec80bc (patch) | |
tree | b98f2be4286944e17243dcd235f16bf94b930150 | |
parent | 132c20894d102558cc8f3aee5bc289425d0ddb24 (diff) | |
download | haskell-6e2658f67bcdbc7fd0ebd2ef6abcd13a6bec80bc.tar.gz |
Better document behavior of -Wmissed-specialisations
Test Plan: Read it
Reviewers: austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1829
-rw-r--r-- | docs/users_guide/using-warnings.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/users_guide/using-warnings.rst b/docs/users_guide/using-warnings.rst index de8be63a98..4f9a7416d8 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 |