diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2016-01-25 14:51:50 +0100 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-01-25 16:04:59 +0100 |
commit | 132c20894d102558cc8f3aee5bc289425d0ddb24 (patch) | |
tree | cd904440d86342d1d0d91f7e265e12593fd4bc8d /utils | |
parent | bc1e085c5dc239b66e970fdc5117aec0933a9a37 (diff) | |
download | haskell-132c20894d102558cc8f3aee5bc289425d0ddb24.tar.gz |
Rename -Wmissing-monadfail-instance to plural-form
This warning flag was recently introduced as part of #10751. However,
it was missed during code-review that almost all existing warning
flags use a plural-form, so for consistency this commit renames
that warning flag to `-Wmissing-monadfail-instances`.
Test Plan: local validate (still running)
Reviewers: quchen, goldfire, austin, bgamari
Reviewed By: bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1842
GHC Trac Issues: #10751
Diffstat (limited to 'utils')
-rw-r--r-- | utils/mkUserGuidePart/Options/Warnings.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/mkUserGuidePart/Options/Warnings.hs b/utils/mkUserGuidePart/Options/Warnings.hs index 0c5260f434..3c69de7bd5 100644 --- a/utils/mkUserGuidePart/Options/Warnings.hs +++ b/utils/mkUserGuidePart/Options/Warnings.hs @@ -152,12 +152,12 @@ warningsOptions = , flagType = DynamicFlag , flagReverse = "-Wno-missing-local-sigs" } - , flag { flagName = "-Wmissing-monadfail-instance" + , flag { flagName = "-Wmissing-monadfail-instances" , flagDescription = "warn when a failable pattern is used in a do-block that does " ++ "not have a ``MonadFail`` instance." , flagType = DynamicFlag - , flagReverse = "-Wno-missing-monadfail-instance" + , flagReverse = "-Wno-missing-monadfail-instances" } , flag { flagName = "-Wsemigroup" , flagDescription = |