diff options
Diffstat (limited to 'docs/users_guide/9.8.1-notes.rst')
-rw-r--r-- | docs/users_guide/9.8.1-notes.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/users_guide/9.8.1-notes.rst b/docs/users_guide/9.8.1-notes.rst index 8d8e451e9b..e0eedfe0e7 100644 --- a/docs/users_guide/9.8.1-notes.rst +++ b/docs/users_guide/9.8.1-notes.rst @@ -35,6 +35,12 @@ Compiler - Fix a bug in TH causing excessive calls to ``setNumCapabilities`` when ``-j`` is greater than ``-N``. See GHC ticket #23049. +- ``WARNING`` pragmas may now be annotated with a category, following + `GHC proposal #541 <https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0541-warning-pragmas-with-categories.rst>`_, in which case they are controlled with new + ``-Wx-⟨category⟩`` flags rather than :ghc-flag:`-Wdeprecations`. + A new warning group :ghc-flag:`-Wextended-warnings` includes all such warnings + regardless of category. See :ref:`warning-deprecated-pragma`. + GHCi ~~~~ |