[commit: ghc] wip/D5451: Add -Wmissing-deriving-strategies (a72ec85)

git at git.haskell.org git at git.haskell.org
Sun Mar 31 15:07:04 UTC 2019


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

On branch  : wip/D5451
Link       : http://ghc.haskell.org/trac/ghc/changeset/a72ec85e8c6edb842d64dd41f3dd799a4ee462c1/ghc

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

commit a72ec85e8c6edb842d64dd41f3dd799a4ee462c1
Author: chessai <chessai1996 at gmail.com>
Date:   Wed Dec 26 12:12:37 2018 -0500

    Add -Wmissing-deriving-strategies
    
    Warn users when -XDerivingStrategies is enabled but not used, at each
    potential use site.
    
    add -Wmissing-deriving-strategies
    
    Reviewers: bgamari, RyanGlScott
    
    Subscribers: andrewthad, rwbarton, carter
    
    GHC Trac Issues: #15798
    
    Differential Revision: https://phabricator.haskell.org/D5451


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

a72ec85e8c6edb842d64dd41f3dd799a4ee462c1
 compiler/main/DynFlags.hs                          |  2 ++
 compiler/rename/RnSource.hs                        | 25 ++++++++++++++++++++++
 compiler/typecheck/TcDerivUtils.hs                 |  2 +-
 docs/users_guide/8.8.1-notes.rst                   |  4 ++++
 docs/users_guide/extending_ghc.rst                 |  1 +
 docs/users_guide/using-warnings.rst                | 21 ++++++++++++++++++
 testsuite/tests/rename/should_compile/T15798a.hs   | 12 +++++++++++
 .../tests/rename/should_compile/T15798a.stderr     |  3 +++
 testsuite/tests/rename/should_compile/T15798b.hs   |  9 ++++++++
 .../tests/rename/should_compile/T15798b.stderr     |  4 ++++
 testsuite/tests/rename/should_compile/T15798c.hs   |  6 ++++++
 .../tests/rename/should_compile/T15798c.stderr     |  4 ++++
 testsuite/tests/rename/should_compile/all.T        |  4 ++++
 13 files changed, 96 insertions(+), 1 deletion(-)

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 a72ec85e8c6edb842d64dd41f3dd799a4ee462c1


More information about the ghc-commits mailing list