Print which flag controls emitted desugaring warnings
authorHerbert Valerio Riedel <hvr@gnu.org>
Sat, 27 Feb 2016 12:50:10 +0000 (13:50 +0100)
committerHerbert Valerio Riedel <hvr@gnu.org>
Sat, 27 Feb 2016 15:35:45 +0000 (16:35 +0100)
commitb9c697eefd34fcba3ab9c1f831baf7f651ad7503
tree73dd59a223adc3f855da6613c0a99ed2e1fb6f77
parent3ee4fc04322dacb66c70262a220dce0f52c29d4f
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

Reviewed-by: quchen, bgamari
Differential Revision: https://phabricator.haskell.org/D1954
46 files changed:
compiler/deSugar/Check.hs
compiler/deSugar/Desugar.hs
compiler/deSugar/DsBinds.hs
compiler/deSugar/DsExpr.hs
compiler/deSugar/DsMonad.hs
compiler/deSugar/Match.hs
compiler/deSugar/MatchLit.hs
testsuite/tests/deSugar/should_compile/DsStrictWarn.stderr
testsuite/tests/deSugar/should_compile/GadtOverlap.stderr
testsuite/tests/deSugar/should_compile/T10662.stderr
testsuite/tests/deSugar/should_compile/T2395.stderr
testsuite/tests/deSugar/should_compile/T3263-1.stderr
testsuite/tests/deSugar/should_compile/T3263-2.stderr
testsuite/tests/deSugar/should_compile/T4488.stderr
testsuite/tests/deSugar/should_compile/T5117.stderr
testsuite/tests/deSugar/should_compile/T5455.stderr
testsuite/tests/deSugar/should_compile/ds002.stderr
testsuite/tests/deSugar/should_compile/ds003.stderr
testsuite/tests/deSugar/should_compile/ds019.stderr
testsuite/tests/deSugar/should_compile/ds020.stderr
testsuite/tests/deSugar/should_compile/ds022.stderr
testsuite/tests/deSugar/should_compile/ds043.stderr
testsuite/tests/deSugar/should_compile/ds051.stderr
testsuite/tests/deSugar/should_compile/ds056.stderr
testsuite/tests/deSugar/should_compile/ds058.stderr
testsuite/tests/dependent/should_compile/KindEqualities.stderr
testsuite/tests/driver/werror.stderr
testsuite/tests/gadt/T7294.stderr
testsuite/tests/ghci/scripts/Defer02.stderr
testsuite/tests/ghci/scripts/T3263.stderr
testsuite/tests/numeric/should_compile/T10929.stderr
testsuite/tests/numeric/should_compile/T7881.stderr
testsuite/tests/numeric/should_compile/T7895.stderr
testsuite/tests/numeric/should_compile/T8542.stderr
testsuite/tests/pmcheck/should_compile/T11245.stderr
testsuite/tests/pmcheck/should_compile/T2204.stderr
testsuite/tests/pmcheck/should_compile/T9951b.stderr
testsuite/tests/pmcheck/should_compile/pmc001.stderr
testsuite/tests/pmcheck/should_compile/pmc003.stderr
testsuite/tests/pmcheck/should_compile/pmc004.stderr
testsuite/tests/pmcheck/should_compile/pmc005.stderr
testsuite/tests/pmcheck/should_compile/pmc007.stderr
testsuite/tests/simplCore/should_compile/T6082-RULE.stderr
testsuite/tests/simplCore/should_compile/T7287.stderr
testsuite/tests/th/TH_repUnboxedTuples.stderr
testsuite/tests/typecheck/should_compile/T5490.stderr