[commit: ghc] master: Make warning names more consistent (6658491)

git at git.haskell.org git at git.haskell.org
Thu Feb 25 14:40:55 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/665849142bca36c14bcb25d64180c153a1ef1f2c/ghc

>---------------------------------------------------------------

commit 665849142bca36c14bcb25d64180c153a1ef1f2c
Author: Manav Rathi <mx4492 at gmail.com>
Date:   Thu Feb 25 14:51:32 2016 +0100

    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


>---------------------------------------------------------------

665849142bca36c14bcb25d64180c153a1ef1f2c
 compiler/main/DynFlags.hs                          | 31 ++++++++------
 compiler/rename/RnNames.hs                         | 12 +++---
 compiler/stranal/DmdAnal.hs                        |  3 +-
 compiler/typecheck/TcBinds.hs                      |  8 ++--
 docs/users_guide/8.0.1-notes.rst                   | 16 +++++--
 docs/users_guide/debugging.rst                     |  2 +-
 docs/users_guide/using-warnings.rst                | 49 +++++++++++++++-------
 testsuite/tests/patsyn/should_fail/T11053.hs       |  2 +-
 testsuite/tests/patsyn/should_fail/all.T           |  2 +-
 testsuite/tests/stranal/sigs/all.T                 |  2 +-
 testsuite/tests/warnings/should_compile/T10908.hs  |  2 +-
 testsuite/tests/warnings/should_compile/all.T      |  6 +--
 utils/mkUserGuidePart/Options/CompilerDebugging.hs |  2 +-
 utils/mkUserGuidePart/Options/Warnings.hs          | 15 +++++++
 14 files changed, 101 insertions(+), 51 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 665849142bca36c14bcb25d64180c153a1ef1f2c


More information about the ghc-commits mailing list