diff options
author | Ben Gamari <bgamari.foss@gmail.com> | 2016-03-24 22:32:20 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-03-24 22:32:29 +0100 |
commit | 8ff6518b5af1b357eb043ac46f9209bd0019a193 (patch) | |
tree | d41972f7042bea27627cce125d1a89c66ad6af4a /utils/mkUserGuidePart | |
parent | 2cebbe657afd6a3c31dd1d2b7d04978525c27a56 (diff) | |
download | haskell-8ff6518b5af1b357eb043ac46f9209bd0019a193.tar.gz |
users-guide: Add -Wredundant-constraints to flags reference
Test Plan: Validate and read
Reviewers: austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D2035
GHC Trac Issues: #11741
Diffstat (limited to 'utils/mkUserGuidePart')
-rw-r--r-- | utils/mkUserGuidePart/Options/Warnings.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/mkUserGuidePart/Options/Warnings.hs b/utils/mkUserGuidePart/Options/Warnings.hs index b194bf2995..3552172762 100644 --- a/utils/mkUserGuidePart/Options/Warnings.hs +++ b/utils/mkUserGuidePart/Options/Warnings.hs @@ -370,6 +370,13 @@ warningsOptions = , flagType = DynamicFlag , flagReverse = "-Wno-amp" } + , flag { flagName = "-Wredundant-constraints" + , flagDescription = + "Have the compiler warn about redundant constraints in type"++ + "signatures." + , flagType = DynamicFlag + , flagReverse = "-Wno-redundant-constraints" + } , flag { flagName = "-Wdeferred-type-errors" , flagDescription = "Report warnings when :ref:`deferred type errors "++ |