[commit: ghc] D5451: add -Wmissing-deriving-strategies (29fc289)

git at git.haskell.org git at git.haskell.org
Thu Dec 27 17:01:13 UTC 2018


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

On branch  : D5451
Link       : http://ghc.haskell.org/trac/ghc/changeset/29fc289449adc6af3abd12f66bda98e0a1bad388/ghc

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

commit 29fc289449adc6af3abd12f66bda98e0a1bad388
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


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

29fc289449adc6af3abd12f66bda98e0a1bad388
 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/using-warnings.rst                | 24 +++++++++++++++++++++
 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 ++++
 12 files changed, 98 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 29fc289449adc6af3abd12f66bda98e0a1bad388


More information about the ghc-commits mailing list