[commit: ghc] ghc-8.0: Print which flag controls emitted desugaring warnings (2091439)

git at git.haskell.org git at git.haskell.org
Sun Feb 28 18:40:22 UTC 2016


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

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

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

commit 209143945233726a8cf5c4eb2605a4f8084e5fa0
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Feb 27 13:50:10 2016 +0100

    Print which flag controls emitted desugaring warnings
    
    This is extends bb5afd3c274011c5ea302210b4c290ec1f83209c to cover
    warnings emitted during the desugaring phase.
    
    This implements another part of #10752
    
    (cherry picked from commit b9c697eefd34fcba3ab9c1f831baf7f651ad7503)


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

209143945233726a8cf5c4eb2605a4f8084e5fa0
 compiler/deSugar/Check.hs                          | 40 ++++++++++++++--------
 compiler/deSugar/Desugar.hs                        |  8 +++--
 compiler/deSugar/DsBinds.hs                        | 12 +++----
 compiler/deSugar/DsExpr.hs                         | 14 ++++----
 compiler/deSugar/DsMonad.hs                        | 15 ++++----
 compiler/deSugar/Match.hs                          |  2 +-
 compiler/deSugar/MatchLit.hs                       |  9 ++---
 .../deSugar/should_compile/DsStrictWarn.stderr     |  2 +-
 .../deSugar/should_compile/GadtOverlap.stderr      |  2 +-
 .../tests/deSugar/should_compile/T10662.stderr     |  3 +-
 .../tests/deSugar/should_compile/T2395.stderr      |  2 +-
 .../tests/deSugar/should_compile/T3263-1.stderr    |  6 ++--
 .../tests/deSugar/should_compile/T3263-2.stderr    |  6 ++--
 .../tests/deSugar/should_compile/T4488.stderr      | 12 +++----
 .../tests/deSugar/should_compile/T5117.stderr      |  2 +-
 .../tests/deSugar/should_compile/T5455.stderr      |  4 +--
 .../tests/deSugar/should_compile/ds002.stderr      |  6 ++--
 .../tests/deSugar/should_compile/ds003.stderr      |  4 +--
 .../tests/deSugar/should_compile/ds019.stderr      |  6 ++--
 .../tests/deSugar/should_compile/ds020.stderr      | 10 +++---
 .../tests/deSugar/should_compile/ds022.stderr      |  4 +--
 .../tests/deSugar/should_compile/ds043.stderr      |  2 +-
 .../tests/deSugar/should_compile/ds051.stderr      |  6 ++--
 .../tests/deSugar/should_compile/ds056.stderr      |  2 +-
 .../tests/deSugar/should_compile/ds058.stderr      |  2 +-
 .../dependent/should_compile/KindEqualities.stderr |  2 +-
 testsuite/tests/driver/werror.stderr               |  4 +--
 testsuite/tests/gadt/T7294.stderr                  |  2 +-
 testsuite/tests/ghci/scripts/Defer02.stderr        |  4 +--
 testsuite/tests/ghci/scripts/T3263.stderr          |  3 +-
 .../tests/numeric/should_compile/T10929.stderr     |  9 +++--
 .../tests/numeric/should_compile/T7881.stderr      |  9 +++--
 .../tests/numeric/should_compile/T7895.stderr      |  4 +--
 .../tests/numeric/should_compile/T8542.stderr      |  4 +--
 .../tests/pmcheck/should_compile/T2204.stderr      |  5 +--
 .../tests/pmcheck/should_compile/T9951b.stderr     |  3 +-
 .../tests/pmcheck/should_compile/pmc001.stderr     |  5 +--
 .../tests/pmcheck/should_compile/pmc003.stderr     |  2 +-
 .../tests/pmcheck/should_compile/pmc004.stderr     |  2 +-
 .../tests/pmcheck/should_compile/pmc005.stderr     |  4 +--
 .../tests/pmcheck/should_compile/pmc007.stderr     |  7 ++--
 .../simplCore/should_compile/T6082-RULE.stderr     |  4 +--
 .../tests/simplCore/should_compile/T7287.stderr    |  2 +-
 testsuite/tests/th/TH_repUnboxedTuples.stderr      |  2 +-
 .../tests/typecheck/should_compile/T5490.stderr    |  4 +--
 45 files changed, 139 insertions(+), 123 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 209143945233726a8cf5c4eb2605a4f8084e5fa0


More information about the ghc-commits mailing list