summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rename')
-rw-r--r--testsuite/tests/rename/should_compile/T1972.stderr24
-rw-r--r--testsuite/tests/rename/should_compile/T5331.stderr24
-rw-r--r--testsuite/tests/rename/should_compile/T5592.stdout2
-rw-r--r--testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr6
-rw-r--r--testsuite/tests/rename/should_fail/T5372.stderr16
-rw-r--r--testsuite/tests/rename/should_fail/T5533.stderr8
-rw-r--r--testsuite/tests/rename/should_fail/T7906.stderr8
-rw-r--r--testsuite/tests/rename/should_fail/T9177.stderr24
-rw-r--r--testsuite/tests/rename/should_fail/T9177a.stderr8
-rw-r--r--testsuite/tests/rename/should_fail/mc14.stderr4
-rw-r--r--testsuite/tests/rename/should_fail/rn_dup.stderr60
-rw-r--r--testsuite/tests/rename/should_fail/rnfail024.stderr8
-rw-r--r--testsuite/tests/rename/should_fail/rnfail044.stderr14
-rw-r--r--testsuite/tests/rename/should_fail/rnfail049.stderr4
-rw-r--r--testsuite/tests/rename/should_fail/rnfail050.stderr4
15 files changed, 107 insertions, 107 deletions
diff --git a/testsuite/tests/rename/should_compile/T1972.stderr b/testsuite/tests/rename/should_compile/T1972.stderr
index e19b08eece..32af87af0e 100644
--- a/testsuite/tests/rename/should_compile/T1972.stderr
+++ b/testsuite/tests/rename/should_compile/T1972.stderr
@@ -1,12 +1,12 @@
-
-T1972.hs:12:3: warning:
- This binding for ‘name’ shadows the existing binding
- defined at T1972.hs:9:19
-
-T1972.hs:14:3: warning:
- This binding for ‘mapAccumL’ shadows the existing bindings
- imported from ‘Data.List’ at T1972.hs:7:1-16
- (and originally defined in ‘Data.Traversable’)
- defined at T1972.hs:16:1
-
-T1972.hs:20:10: warning: Defined but not used: ‘c’
+
+T1972.hs:12:3: warning:
+ This binding for ‘name’ shadows the existing binding
+ defined at T1972.hs:9:19
+
+T1972.hs:14:3: warning:
+ This binding for ‘mapAccumL’ shadows the existing bindings
+ imported from ‘Data.List’ at T1972.hs:7:1-16
+ (and originally defined in ‘Data.Traversable’)
+ defined at T1972.hs:16:1
+
+T1972.hs:20:10: warning: Defined but not used: ‘c’
diff --git a/testsuite/tests/rename/should_compile/T5331.stderr b/testsuite/tests/rename/should_compile/T5331.stderr
index 965e15a9b4..6a783e5831 100644
--- a/testsuite/tests/rename/should_compile/T5331.stderr
+++ b/testsuite/tests/rename/should_compile/T5331.stderr
@@ -1,12 +1,12 @@
-
-T5331.hs:8:17: warning:
- Unused quantified type variable ‘a’
- In the definition of data constructor ‘S1’
-
-T5331.hs:11:16: warning:
- Unused quantified type variable ‘a’
- In the type ‘forall a. W’
-
-T5331.hs:13:13: warning:
- Unused quantified type variable ‘a’
- In the type ‘forall a. Int’
+
+T5331.hs:8:17: warning:
+ Unused quantified type variable ‘a’
+ In the definition of data constructor ‘S1’
+
+T5331.hs:11:16: warning:
+ Unused quantified type variable ‘a’
+ In the type ‘forall a. W’
+
+T5331.hs:13:13: warning:
+ Unused quantified type variable ‘a’
+ In the type ‘forall a. Int’
diff --git a/testsuite/tests/rename/should_compile/T5592.stdout b/testsuite/tests/rename/should_compile/T5592.stdout
index d58d2d8c52..302e6a55ab 100644
--- a/testsuite/tests/rename/should_compile/T5592.stdout
+++ b/testsuite/tests/rename/should_compile/T5592.stdout
@@ -1 +1 @@
-MyRecord {field = "Hello, world!"}
+MyRecord {field = "Hello, world!"}
diff --git a/testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr b/testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr
index b34f4354b3..ad574a619f 100644
--- a/testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr
+++ b/testsuite/tests/rename/should_fail/RnStaticPointersFail02.stderr
@@ -1,3 +1,3 @@
-
-RnStaticPointersFail02.hs:5:12: error:
- Data constructor not in scope: T
+
+RnStaticPointersFail02.hs:5:12: error:
+ Data constructor not in scope: T
diff --git a/testsuite/tests/rename/should_fail/T5372.stderr b/testsuite/tests/rename/should_fail/T5372.stderr
index 5d7a9c4ead..f6a466eb6c 100644
--- a/testsuite/tests/rename/should_fail/T5372.stderr
+++ b/testsuite/tests/rename/should_fail/T5372.stderr
@@ -1,8 +1,8 @@
-
-T5372.hs:4:11: error:
- Not in scope: data constructor ‘MkS’
- Perhaps you meant ‘T5372a.MkS’ (imported from T5372a)
-
-T5372.hs:4:17: error:
- Not in scope: ‘x’
- Perhaps you meant ‘T5372a.x’ (imported from T5372a)
+
+T5372.hs:4:11: error:
+ Not in scope: data constructor ‘MkS’
+ Perhaps you meant ‘T5372a.MkS’ (imported from T5372a)
+
+T5372.hs:4:17: error:
+ Not in scope: ‘x’
+ Perhaps you meant ‘T5372a.x’ (imported from T5372a)
diff --git a/testsuite/tests/rename/should_fail/T5533.stderr b/testsuite/tests/rename/should_fail/T5533.stderr
index 2c8d761667..bd5516cceb 100644
--- a/testsuite/tests/rename/should_fail/T5533.stderr
+++ b/testsuite/tests/rename/should_fail/T5533.stderr
@@ -1,4 +1,4 @@
-
-T5533.hs:4:1: error:
- The type signature for ‘f2’ lacks an accompanying binding
- (The type signature must be given where ‘f2’ is declared)
+
+T5533.hs:4:1: error:
+ The type signature for ‘f2’ lacks an accompanying binding
+ (The type signature must be given where ‘f2’ is declared)
diff --git a/testsuite/tests/rename/should_fail/T7906.stderr b/testsuite/tests/rename/should_fail/T7906.stderr
index e2b3e13008..ab448ed26e 100644
--- a/testsuite/tests/rename/should_fail/T7906.stderr
+++ b/testsuite/tests/rename/should_fail/T7906.stderr
@@ -1,4 +1,4 @@
-
-T7906.hs:5:16: error:
- The INLINABLE pragma for ‘foo’ lacks an accompanying binding
- (The INLINABLE pragma must be given where ‘foo’ is declared)
+
+T7906.hs:5:16: error:
+ The INLINABLE pragma for ‘foo’ lacks an accompanying binding
+ (The INLINABLE pragma must be given where ‘foo’ is declared)
diff --git a/testsuite/tests/rename/should_fail/T9177.stderr b/testsuite/tests/rename/should_fail/T9177.stderr
index 421a600b3c..b336b32524 100644
--- a/testsuite/tests/rename/should_fail/T9177.stderr
+++ b/testsuite/tests/rename/should_fail/T9177.stderr
@@ -1,12 +1,12 @@
-
-T9177.hs:4:13: error:
- Not in scope: type variable ‘int’
- Perhaps you meant type constructor or class ‘Int’ (imported from Prelude)
-
-T9177.hs:7:14: error:
- Not in scope: type variable ‘integerr’
- Perhaps you meant type constructor or class ‘Integer’ (imported from Prelude)
-
-T9177.hs:16:6: error:
- Not in scope: data constructor ‘Fun’
- Perhaps you meant variable ‘fun’ (line 20)
+
+T9177.hs:4:13: error:
+ Not in scope: type variable ‘int’
+ Perhaps you meant type constructor or class ‘Int’ (imported from Prelude)
+
+T9177.hs:7:14: error:
+ Not in scope: type variable ‘integerr’
+ Perhaps you meant type constructor or class ‘Integer’ (imported from Prelude)
+
+T9177.hs:16:6: error:
+ Not in scope: data constructor ‘Fun’
+ Perhaps you meant variable ‘fun’ (line 20)
diff --git a/testsuite/tests/rename/should_fail/T9177a.stderr b/testsuite/tests/rename/should_fail/T9177a.stderr
index 858dabea71..0fd65a0726 100644
--- a/testsuite/tests/rename/should_fail/T9177a.stderr
+++ b/testsuite/tests/rename/should_fail/T9177a.stderr
@@ -1,4 +1,4 @@
-
-T9177a.hs:3:8: error: Variable not in scope: bar
-
-T9177a.hs:4:8: error: Data constructor not in scope: Fun
+
+T9177a.hs:3:8: error: Variable not in scope: bar
+
+T9177a.hs:4:8: error: Data constructor not in scope: Fun
diff --git a/testsuite/tests/rename/should_fail/mc14.stderr b/testsuite/tests/rename/should_fail/mc14.stderr
index 4182c8fa8c..402006af2a 100644
--- a/testsuite/tests/rename/should_fail/mc14.stderr
+++ b/testsuite/tests/rename/should_fail/mc14.stderr
@@ -1,2 +1,2 @@
-
-mc14.hs:14:49: error: Variable not in scope: f :: [a] -> m (t0 a)
+
+mc14.hs:14:49: error: Variable not in scope: f :: [a] -> m (t0 a)
diff --git a/testsuite/tests/rename/should_fail/rn_dup.stderr b/testsuite/tests/rename/should_fail/rn_dup.stderr
index db6767a635..ba8a9a56dc 100644
--- a/testsuite/tests/rename/should_fail/rn_dup.stderr
+++ b/testsuite/tests/rename/should_fail/rn_dup.stderr
@@ -1,30 +1,30 @@
-
-rn_dup.hs:9:10: error:
- Multiple declarations of ‘MkT’
- Declared at: rn_dup.hs:7:10
- rn_dup.hs:9:10
-
-rn_dup.hs:9:10: error:
- Multiple declarations of ‘MkT’
- Declared at: rn_dup.hs:7:16
- rn_dup.hs:9:10
-
-rn_dup.hs:12:16: error:
- Multiple declarations of ‘rf’
- Declared at: rn_dup.hs:11:16
- rn_dup.hs:12:16
-
-rn_dup.hs:12:16: error:
- Multiple declarations of ‘rf’
- Declared at: rn_dup.hs:11:27
- rn_dup.hs:12:16
-
-rn_dup.hs:17:3: error:
- Multiple declarations of ‘CT’
- Declared at: rn_dup.hs:15:3
- rn_dup.hs:17:3
-
-rn_dup.hs:18:3: error:
- Multiple declarations of ‘f’
- Declared at: rn_dup.hs:16:3
- rn_dup.hs:18:3
+
+rn_dup.hs:9:10: error:
+ Multiple declarations of ‘MkT’
+ Declared at: rn_dup.hs:7:10
+ rn_dup.hs:9:10
+
+rn_dup.hs:9:10: error:
+ Multiple declarations of ‘MkT’
+ Declared at: rn_dup.hs:7:16
+ rn_dup.hs:9:10
+
+rn_dup.hs:12:16: error:
+ Multiple declarations of ‘rf’
+ Declared at: rn_dup.hs:11:16
+ rn_dup.hs:12:16
+
+rn_dup.hs:12:16: error:
+ Multiple declarations of ‘rf’
+ Declared at: rn_dup.hs:11:27
+ rn_dup.hs:12:16
+
+rn_dup.hs:17:3: error:
+ Multiple declarations of ‘CT’
+ Declared at: rn_dup.hs:15:3
+ rn_dup.hs:17:3
+
+rn_dup.hs:18:3: error:
+ Multiple declarations of ‘f’
+ Declared at: rn_dup.hs:16:3
+ rn_dup.hs:18:3
diff --git a/testsuite/tests/rename/should_fail/rnfail024.stderr b/testsuite/tests/rename/should_fail/rnfail024.stderr
index 0e3d594c3c..6be278d76e 100644
--- a/testsuite/tests/rename/should_fail/rnfail024.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail024.stderr
@@ -1,4 +1,4 @@
-
-rnfail024.hs:3:1: error:
- The type signature for ‘sig_without_a_defn’
- lacks an accompanying binding
+
+rnfail024.hs:3:1: error:
+ The type signature for ‘sig_without_a_defn’
+ lacks an accompanying binding
diff --git a/testsuite/tests/rename/should_fail/rnfail044.stderr b/testsuite/tests/rename/should_fail/rnfail044.stderr
index 4cfb3e4d23..6dcf2ca8f9 100644
--- a/testsuite/tests/rename/should_fail/rnfail044.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail044.stderr
@@ -1,7 +1,7 @@
-
-rnfail044.hs:5:12: error:
- Ambiguous occurrence ‘splitAt’
- It could refer to either ‘Data.List.splitAt’,
- imported from ‘Prelude’ at rnfail044.hs:5:8
- (and originally defined in ‘GHC.List’)
- or ‘A.splitAt’, defined at rnfail044.hs:8:3
+
+rnfail044.hs:5:12: error:
+ Ambiguous occurrence ‘splitAt’
+ It could refer to either ‘Data.List.splitAt’,
+ imported from ‘Prelude’ at rnfail044.hs:5:8
+ (and originally defined in ‘GHC.List’)
+ or ‘A.splitAt’, defined at rnfail044.hs:8:3
diff --git a/testsuite/tests/rename/should_fail/rnfail049.stderr b/testsuite/tests/rename/should_fail/rnfail049.stderr
index b85c25ccdb..a374902114 100644
--- a/testsuite/tests/rename/should_fail/rnfail049.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail049.stderr
@@ -1,2 +1,2 @@
-
-rnfail049.hs:12:49: error: Variable not in scope: f :: [a] -> [[a]]
+
+rnfail049.hs:12:49: error: Variable not in scope: f :: [a] -> [[a]]
diff --git a/testsuite/tests/rename/should_fail/rnfail050.stderr b/testsuite/tests/rename/should_fail/rnfail050.stderr
index 0f940f87b5..6ce61321f9 100644
--- a/testsuite/tests/rename/should_fail/rnfail050.stderr
+++ b/testsuite/tests/rename/should_fail/rnfail050.stderr
@@ -1,2 +1,2 @@
-
-rnfail050.hs:10:37: error: Variable not in scope: f :: [a] -> [a]
+
+rnfail050.hs:10:37: error: Variable not in scope: f :: [a] -> [a]