From b9c697eefd34fcba3ab9c1f831baf7f651ad7503 Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Sat, 27 Feb 2016 13:50:10 +0100 Subject: 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 --- testsuite/tests/pmcheck/should_compile/pmc007.stderr | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'testsuite/tests/pmcheck/should_compile/pmc007.stderr') diff --git a/testsuite/tests/pmcheck/should_compile/pmc007.stderr b/testsuite/tests/pmcheck/should_compile/pmc007.stderr index 291fbdcde2..f6e4ece88c 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc007.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc007.stderr @@ -1,9 +1,10 @@ -pmc007.hs:7:1: warning: + +pmc007.hs:7:1: warning: [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ā€˜fā€™: Patterns not matched: p where p is not one of {"ac", "ab"} -pmc007.hs:12:1: warning: +pmc007.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ā€˜gā€™: Patterns not matched: @@ -13,7 +14,7 @@ pmc007.hs:12:1: warning: ('a':p:_) where p is not one of {'c', 'b'} ... -pmc007.hs:18:11: warning: +pmc007.hs:18:11: warning: [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: Patterns not matched: -- cgit v1.2.1