diff options
Diffstat (limited to 'testsuite/tests/pmcheck/should_compile/pmc007.stderr')
-rw-r--r-- | testsuite/tests/pmcheck/should_compile/pmc007.stderr | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/tests/pmcheck/should_compile/pmc007.stderr b/testsuite/tests/pmcheck/should_compile/pmc007.stderr index 9a3fe6efdc..1593f85f7f 100644 --- a/testsuite/tests/pmcheck/should_compile/pmc007.stderr +++ b/testsuite/tests/pmcheck/should_compile/pmc007.stderr @@ -2,12 +2,13 @@ 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 {"ab", "ac"} + Patterns of type ‘a’ not matched: + p where p is not one of {"ab", "ac"} pmc007.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In an equation for ‘g’: - Patterns not matched: + Patterns of type ‘String’ not matched: [] [p] where p is not one of {'a'} (p:_:_) where p is not one of {'a'} @@ -17,7 +18,7 @@ pmc007.hs:12:1: warning: [-Wincomplete-patterns (in -Wextra)] pmc007.hs:18:11: warning: [-Wincomplete-patterns (in -Wextra)] Pattern match(es) are non-exhaustive In a case alternative: - Patterns not matched: + Patterns of type ‘String’ not matched: [] [p] where p is not one of {'a'} (p:_:_) where p is not one of {'a'} |