Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/adfd2723cddac75dcace1d49347e4ee7ebd4a5ae

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

commit adfd2723cddac75dcace1d49347e4ee7ebd4a5ae
Author: Simon Peyton Jones <simo...@microsoft.com>
Date:   Fri Oct 19 11:58:59 2012 +0100

    Better duplicate signature warnings

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

 tests/rename/should_fail/T5589.stderr     |    6 +++---
 tests/rename/should_fail/rnfail048.stderr |   16 ++++++++--------
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/tests/rename/should_fail/T5589.stderr 
b/tests/rename/should_fail/T5589.stderr
index f5f3a01..5eaae64 100644
--- a/tests/rename/should_fail/T5589.stderr
+++ b/tests/rename/should_fail/T5589.stderr
@@ -1,5 +1,5 @@
 
 T5589.hs:4:1:
-    Duplicate type signature:
-      T5589.hs:4:1-10: aaa :: Int
-      T5589.hs:3:1-15: bbb, aaa :: Int
+    Duplicate type signatures for `aaa'
+    at T5589.hs:3:6-8
+       T5589.hs:4:1-3
diff --git a/tests/rename/should_fail/rnfail048.stderr 
b/tests/rename/should_fail/rnfail048.stderr
index 885229d..64cd89d 100644
--- a/tests/rename/should_fail/rnfail048.stderr
+++ b/tests/rename/should_fail/rnfail048.stderr
@@ -1,9 +1,9 @@
 
-rnfail048.hs:11:1:
-    Duplicate INLINE pragma:
-      rnfail048.hs:11:1-18: {-# INLINE foo #-}
-      rnfail048.hs:10:1-22: {-# INLINE[~2] foo #-}
-      rnfail048.hs:9:1-21: {-# INLINE[1] foo #-}
-      rnfail048.hs:8:1-20: {-# NOINLINE foo #-}
-      rnfail048.hs:7:1-24: {-# NOINLINE[~2] foo #-}
-      rnfail048.hs:6:1-23: {-# NOINLINE[1] foo #-}
+rnfail048.hs:11:12:
+    Duplicate INLINE pragmas for `foo'
+    at rnfail048.hs:6:17-19
+       rnfail048.hs:7:18-20
+       rnfail048.hs:8:14-16
+       rnfail048.hs:9:15-17
+       rnfail048.hs:10:16-18
+       rnfail048.hs:11:12-14



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to