[commit: testsuite] master: Better duplicate signature warnings (4cf1eb7)

Simon Peyton Jones <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/testsuite

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/4cf1eb7e05a377c4aa633160d36e0385bea952e3

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

commit 4cf1eb7e05a377c4aa633160d36e0385bea952e3
Author: Simon Peyton Jones <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.