diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2016-02-27 13:50:10 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2016-02-27 16:35:45 +0100 |
commit | b9c697eefd34fcba3ab9c1f831baf7f651ad7503 (patch) | |
tree | 73dd59a223adc3f855da6613c0a99ed2e1fb6f77 /testsuite/tests/deSugar/should_compile/ds019.stderr | |
parent | 3ee4fc04322dacb66c70262a220dce0f52c29d4f (diff) | |
download | haskell-b9c697eefd34fcba3ab9c1f831baf7f651ad7503.tar.gz |
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
Diffstat (limited to 'testsuite/tests/deSugar/should_compile/ds019.stderr')
-rw-r--r-- | testsuite/tests/deSugar/should_compile/ds019.stderr | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testsuite/tests/deSugar/should_compile/ds019.stderr b/testsuite/tests/deSugar/should_compile/ds019.stderr index 1761ad9606..67390d49e3 100644 --- a/testsuite/tests/deSugar/should_compile/ds019.stderr +++ b/testsuite/tests/deSugar/should_compile/ds019.stderr @@ -1,12 +1,12 @@ -ds019.hs:6:1: warning: +ds019.hs:6:1: warning: [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f d (j, k) p = ... -ds019.hs:7:1: warning: +ds019.hs:7:1: warning: [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f (e, f, g) l q = ... -ds019.hs:8:1: warning: +ds019.hs:8:1: warning: [-Woverlapping-patterns (in -Wdefault)] Pattern match is redundant In an equation for ‘f’: f h (m, n) r = ... |