Commit 6e2658f6 authored by Ben Gamari's avatar Ben Gamari Committed by Ben Gamari

Better document behavior of -Wmissed-specialisations

Test Plan: Read it

Reviewers: austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D1829
parent 132c2089
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment