[commit: ghc] ghc-8.0: Make warning names more consistent (e61e290)

git at git.haskell.org git at git.haskell.org
Sat Feb 27 15:21:30 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/e61e29081c8f73d3fa933f456fac49c51a9599db/ghc

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

commit e61e29081c8f73d3fa933f456fac49c51a9599db
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
    
    (cherry picked from commit 665849142bca36c14bcb25d64180c153a1ef1f2c)


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

e61e29081c8f73d3fa933f456fac49c51a9599db
 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 e61e29081c8f73d3fa933f456fac49c51a9599db


More information about the ghc-commits mailing list