[commit: ghc] wip/gadtpm: Updated more previous tests' stderrs (ccb5283)

git at git.haskell.org git at git.haskell.org
Sun Nov 29 11:57:49 UTC 2015


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

On branch  : wip/gadtpm
Link       : http://ghc.haskell.org/trac/ghc/changeset/ccb5283a33400cbec621d8839d0f956c88f6b21a/ghc

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

commit ccb5283a33400cbec621d8839d0f956c88f6b21a
Author: George Karachalias <george.karachalias at gmail.com>
Date:   Sun Nov 29 12:56:13 2015 +0100

    Updated more previous tests' stderrs


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

ccb5283a33400cbec621d8839d0f956c88f6b21a
 testsuite/tests/deSugar/should_compile/ds051.stderr | 6 +++---
 testsuite/tests/driver/werror.stderr                | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/testsuite/tests/deSugar/should_compile/ds051.stderr b/testsuite/tests/deSugar/should_compile/ds051.stderr
index 76bc4d3..4777dfc 100644
--- a/testsuite/tests/deSugar/should_compile/ds051.stderr
+++ b/testsuite/tests/deSugar/should_compile/ds051.stderr
@@ -1,12 +1,12 @@
 
 ds051.hs:6:1: Warning:
-    Pattern match(es) are overlapped
+    Pattern match(es) are redundant
     In an equation for ‘f1’: f1 "ab" = ...
 
 ds051.hs:11:1: Warning:
-    Pattern match(es) are overlapped
+    Pattern match(es) are redundant
     In an equation for ‘f2’: f2 ('a' : 'b' : []) = ...
 
 ds051.hs:16:1: Warning:
-    Pattern match(es) are overlapped
+    Pattern match(es) are redundant
     In an equation for ‘f3’: f3 "ab" = ...
diff --git a/testsuite/tests/driver/werror.stderr b/testsuite/tests/driver/werror.stderr
index 37692d2..20770fa 100644
--- a/testsuite/tests/driver/werror.stderr
+++ b/testsuite/tests/driver/werror.stderr
@@ -24,7 +24,7 @@ werror.hs:10:1: Warning:
 
 werror.hs:10:1: Warning:
     Pattern match(es) are non-exhaustive
-    In an equation for ‘f’: Patterns not matched: _ : _
+    In an equation for ‘f’: Patterns not matched: (_:_)
 
 <no location info>: 
 Failing due to -Werror.



More information about the ghc-commits mailing list