Make warning names more consistent
authorManav Rathi <mx4492@gmail.com>
Thu, 25 Feb 2016 13:51:32 +0000 (14:51 +0100)
committerBen Gamari <ben@smart-cactus.org>
Thu, 25 Feb 2016 14:41:55 +0000 (15:41 +0100)
commit665849142bca36c14bcb25d64180c153a1ef1f2c
tree64d4787d0e2af14ed57d637aaced6cc54a167571
parent673efccb3b348e9daf23d9e65460691bbea8586e
Make warning names more consistent

- Replace "Sigs" with "Signatures" in WarningFlag data constructors.
- Replace "PatSyn" with "PatternSynonym" in WarningFlag data
  constructors.
- Deprecate "missing-local-sigs" in favor of "missing-local-signatures".
- Deprecate "missing-exported-sigs" in favor of
  "missing-exported-signatures".
- Deprecate "missing-pat-syn-signatures" in favor of
  "missing-pattern-synonym-signatures".
- Replace "ddump-strsigs" with "ddump-str-signatures"

These complete the tasks that were explicitly mentioned in #11583

Test Plan:
Executed `ghc --show-options` and verified that the flags were changed
as expected.

Reviewers: svenpanne, austin, bgamari

Reviewed By: austin, bgamari

Subscribers: mpickering, thomie

Differential Revision: https://phabricator.haskell.org/D1939

GHC Trac Issues: #11583
14 files changed:
compiler/main/DynFlags.hs
compiler/rename/RnNames.hs
compiler/stranal/DmdAnal.hs
compiler/typecheck/TcBinds.hs
docs/users_guide/8.0.1-notes.rst
docs/users_guide/debugging.rst
docs/users_guide/using-warnings.rst
testsuite/tests/patsyn/should_fail/T11053.hs
testsuite/tests/patsyn/should_fail/all.T
testsuite/tests/stranal/sigs/all.T
testsuite/tests/warnings/should_compile/T10908.hs
testsuite/tests/warnings/should_compile/all.T
utils/mkUserGuidePart/Options/CompilerDebugging.hs
utils/mkUserGuidePart/Options/Warnings.hs