[commit: ghc] wip/merge-queue: Add -Wmissing-deriving-strategies (c121e33)

git at git.haskell.org git at git.haskell.org
Sun Jan 6 12:33:34 UTC 2019


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

On branch  : wip/merge-queue
Link       : http://ghc.haskell.org/trac/ghc/changeset/c121e33f9b039acf2ac6939af8bfafe593560039/ghc

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

commit c121e33f9b039acf2ac6939af8bfafe593560039
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


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

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


More information about the ghc-commits mailing list