summaryrefslogtreecommitdiff
path: root/testsuite/tests/deSugar
diff options
context:
space:
mode:
authorHerbert Valerio Riedel <hvr@gnu.org>2014-02-23 22:00:57 +0100
committerHerbert Valerio Riedel <hvr@gnu.org>2014-02-25 11:06:51 +0100
commit018676c7f883886b388652c913c99a10d2591b0b (patch)
treeddeb1cd21f74b21f12b1d1ddbc26abb934136587 /testsuite/tests/deSugar
parentede5b5180c2a5db3f51b01dbef402d21ace9601c (diff)
downloadhaskell-018676c7f883886b388652c913c99a10d2591b0b.tar.gz
Use U+2018 instead of U+201B quote mark in compiler messages
This matches GCC's choice of Unicode quotation marks (i.e. U+2018 and U+2019) and therefore looks more familiar on the console. This addresses #2507. Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Diffstat (limited to 'testsuite/tests/deSugar')
-rw-r--r--testsuite/tests/deSugar/should_compile/GadtOverlap.stderr2
-rw-r--r--testsuite/tests/deSugar/should_compile/T2395.stderr2
-rw-r--r--testsuite/tests/deSugar/should_compile/T3263-1.stderr8
-rw-r--r--testsuite/tests/deSugar/should_compile/T3263-2.stderr8
-rw-r--r--testsuite/tests/deSugar/should_compile/T5117.stderr2
-rw-r--r--testsuite/tests/deSugar/should_compile/ds002.stderr-ghc4
-rw-r--r--testsuite/tests/deSugar/should_compile/ds003.stderr-ghc2
-rw-r--r--testsuite/tests/deSugar/should_compile/ds019.stderr-ghc2
-rw-r--r--testsuite/tests/deSugar/should_compile/ds020.stderr-ghc8
-rw-r--r--testsuite/tests/deSugar/should_compile/ds022.stderr-ghc2
-rw-r--r--testsuite/tests/deSugar/should_compile/ds041.stderr-ghc4
-rw-r--r--testsuite/tests/deSugar/should_compile/ds051.stderr-ghc6
-rw-r--r--testsuite/tests/deSugar/should_compile/ds053.stderr-ghc2
-rw-r--r--testsuite/tests/deSugar/should_compile/ds056.stderr2
14 files changed, 27 insertions, 27 deletions
diff --git a/testsuite/tests/deSugar/should_compile/GadtOverlap.stderr b/testsuite/tests/deSugar/should_compile/GadtOverlap.stderr
index 359a352edb..4e3f1c17f1 100644
--- a/testsuite/tests/deSugar/should_compile/GadtOverlap.stderr
+++ b/testsuite/tests/deSugar/should_compile/GadtOverlap.stderr
@@ -1,4 +1,4 @@
GadtOverlap.hs:19:1: Warning:
Pattern match(es) are non-exhaustive
- In an equation for ‛h’: Patterns not matched: T3
+ In an equation for ‘h’: Patterns not matched: T3
diff --git a/testsuite/tests/deSugar/should_compile/T2395.stderr b/testsuite/tests/deSugar/should_compile/T2395.stderr
index 241a767f7c..940f263412 100644
--- a/testsuite/tests/deSugar/should_compile/T2395.stderr
+++ b/testsuite/tests/deSugar/should_compile/T2395.stderr
@@ -1,4 +1,4 @@
T2395.hs:12:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛bar’: bar _ = ...
+ In an equation for ‘bar’: bar _ = ...
diff --git a/testsuite/tests/deSugar/should_compile/T3263-1.stderr b/testsuite/tests/deSugar/should_compile/T3263-1.stderr
index 15b27f6adf..b792f1a887 100644
--- a/testsuite/tests/deSugar/should_compile/T3263-1.stderr
+++ b/testsuite/tests/deSugar/should_compile/T3263-1.stderr
@@ -1,10 +1,10 @@
T3263-1.hs:25:3: Warning:
- A do-notation statement discarded a result of type ‛Int’
- Suppress this warning by saying ‛_ <- nonNullM’
+ A do-notation statement discarded a result of type ‘Int’
+ Suppress this warning by saying ‘_ <- nonNullM’
or by using the flag -fno-warn-unused-do-bind
T3263-1.hs:35:3: Warning:
- A do-notation statement discarded a result of type ‛Int’
- Suppress this warning by saying ‛_ <- nonNullM’
+ A do-notation statement discarded a result of type ‘Int’
+ Suppress this warning by saying ‘_ <- nonNullM’
or by using the flag -fno-warn-unused-do-bind
diff --git a/testsuite/tests/deSugar/should_compile/T3263-2.stderr b/testsuite/tests/deSugar/should_compile/T3263-2.stderr
index 8f4c1774c5..1665d722d5 100644
--- a/testsuite/tests/deSugar/should_compile/T3263-2.stderr
+++ b/testsuite/tests/deSugar/should_compile/T3263-2.stderr
@@ -1,10 +1,10 @@
T3263-2.hs:25:3: Warning:
- A do-notation statement discarded a result of type ‛m Int’
- Suppress this warning by saying ‛_ <- return (return 10 :: m Int)’
+ A do-notation statement discarded a result of type ‘m Int’
+ Suppress this warning by saying ‘_ <- return (return 10 :: m Int)’
or by using the flag -fno-warn-wrong-do-bind
T3263-2.hs:37:3: Warning:
- A do-notation statement discarded a result of type ‛m Int’
- Suppress this warning by saying ‛_ <- return (return 10 :: m Int)’
+ A do-notation statement discarded a result of type ‘m Int’
+ Suppress this warning by saying ‘_ <- return (return 10 :: m Int)’
or by using the flag -fno-warn-wrong-do-bind
diff --git a/testsuite/tests/deSugar/should_compile/T5117.stderr b/testsuite/tests/deSugar/should_compile/T5117.stderr
index 2860940b0c..93de2cf9e7 100644
--- a/testsuite/tests/deSugar/should_compile/T5117.stderr
+++ b/testsuite/tests/deSugar/should_compile/T5117.stderr
@@ -1,4 +1,4 @@
T5117.hs:15:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛f3’: f3 (MyString "a") = ...
+ In an equation for ‘f3’: f3 (MyString "a") = ...
diff --git a/testsuite/tests/deSugar/should_compile/ds002.stderr-ghc b/testsuite/tests/deSugar/should_compile/ds002.stderr-ghc
index c526e0db48..fe4ec94873 100644
--- a/testsuite/tests/deSugar/should_compile/ds002.stderr-ghc
+++ b/testsuite/tests/deSugar/should_compile/ds002.stderr-ghc
@@ -1,10 +1,10 @@
ds002.hs:7:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛f’:
+ In an equation for ‘f’:
f y = ...
f z = ...
ds002.hs:11:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛g’: g x y z = ...
+ In an equation for ‘g’: g x y z = ...
diff --git a/testsuite/tests/deSugar/should_compile/ds003.stderr-ghc b/testsuite/tests/deSugar/should_compile/ds003.stderr-ghc
index f12789da42..1b4c018b62 100644
--- a/testsuite/tests/deSugar/should_compile/ds003.stderr-ghc
+++ b/testsuite/tests/deSugar/should_compile/ds003.stderr-ghc
@@ -1,6 +1,6 @@
ds003.hs:5:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛f’:
+ In an equation for ‘f’:
f (x : x1 : x2 : x3) ~(y, ys) z = ...
f x y True = ...
diff --git a/testsuite/tests/deSugar/should_compile/ds019.stderr-ghc b/testsuite/tests/deSugar/should_compile/ds019.stderr-ghc
index fd13ec7203..4d6e60f1fa 100644
--- a/testsuite/tests/deSugar/should_compile/ds019.stderr-ghc
+++ b/testsuite/tests/deSugar/should_compile/ds019.stderr-ghc
@@ -1,7 +1,7 @@
ds019.hs:5:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛f’:
+ In an equation for ‘f’:
f d (j, k) p = ...
f (e, f, g) l q = ...
f h (m, n) r = ...
diff --git a/testsuite/tests/deSugar/should_compile/ds020.stderr-ghc b/testsuite/tests/deSugar/should_compile/ds020.stderr-ghc
index 4232320025..4120a957d3 100644
--- a/testsuite/tests/deSugar/should_compile/ds020.stderr-ghc
+++ b/testsuite/tests/deSugar/should_compile/ds020.stderr-ghc
@@ -1,18 +1,18 @@
ds020.hs:8:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛a’: a ~(~[], ~[], ~[]) = ...
+ In an equation for ‘a’: a ~(~[], ~[], ~[]) = ...
ds020.hs:11:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛b’: b ~(~x : ~xs : ~ys) = ...
+ In an equation for ‘b’: b ~(~x : ~xs : ~ys) = ...
ds020.hs:16:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛d’:
+ In an equation for ‘d’:
d ~(n+43) = ...
d ~(n+999) = ...
ds020.hs:22:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛f’: f x@(~[]) = ...
+ In an equation for ‘f’: f x@(~[]) = ...
diff --git a/testsuite/tests/deSugar/should_compile/ds022.stderr-ghc b/testsuite/tests/deSugar/should_compile/ds022.stderr-ghc
index 7dd50a2610..45fe3d8a95 100644
--- a/testsuite/tests/deSugar/should_compile/ds022.stderr-ghc
+++ b/testsuite/tests/deSugar/should_compile/ds022.stderr-ghc
@@ -1,6 +1,6 @@
ds022.hs:20:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛i’:
+ In an equation for ‘i’:
i 1 0.011e2 = ...
i 2 2.20000 = ...
diff --git a/testsuite/tests/deSugar/should_compile/ds041.stderr-ghc b/testsuite/tests/deSugar/should_compile/ds041.stderr-ghc
index 48129316fe..c276b77ce9 100644
--- a/testsuite/tests/deSugar/should_compile/ds041.stderr-ghc
+++ b/testsuite/tests/deSugar/should_compile/ds041.stderr-ghc
@@ -3,6 +3,6 @@ ds041.hs:1:14: Warning:
-XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language.
ds041.hs:16:7: Warning:
- Fields of ‛Foo’ not initialised: x
+ Fields of ‘Foo’ not initialised: x
In the expression: Foo {}
- In an equation for ‛foo’: foo = Foo {}
+ In an equation for ‘foo’: foo = Foo {}
diff --git a/testsuite/tests/deSugar/should_compile/ds051.stderr-ghc b/testsuite/tests/deSugar/should_compile/ds051.stderr-ghc
index c40c44620e..76bc4d3968 100644
--- a/testsuite/tests/deSugar/should_compile/ds051.stderr-ghc
+++ b/testsuite/tests/deSugar/should_compile/ds051.stderr-ghc
@@ -1,12 +1,12 @@
ds051.hs:6:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛f1’: f1 "ab" = ...
+ In an equation for ‘f1’: f1 "ab" = ...
ds051.hs:11:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛f2’: f2 ('a' : 'b' : []) = ...
+ In an equation for ‘f2’: f2 ('a' : 'b' : []) = ...
ds051.hs:16:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛f3’: f3 "ab" = ...
+ In an equation for ‘f3’: f3 "ab" = ...
diff --git a/testsuite/tests/deSugar/should_compile/ds053.stderr-ghc b/testsuite/tests/deSugar/should_compile/ds053.stderr-ghc
index 861e66b847..52aa9d7917 100644
--- a/testsuite/tests/deSugar/should_compile/ds053.stderr-ghc
+++ b/testsuite/tests/deSugar/should_compile/ds053.stderr-ghc
@@ -1,2 +1,2 @@
-ds053.hs:5:1: Warning: Defined but not used: ‛f’
+ds053.hs:5:1: Warning: Defined but not used: ‘f’
diff --git a/testsuite/tests/deSugar/should_compile/ds056.stderr b/testsuite/tests/deSugar/should_compile/ds056.stderr
index f4d2e81b51..3f44267f2a 100644
--- a/testsuite/tests/deSugar/should_compile/ds056.stderr
+++ b/testsuite/tests/deSugar/should_compile/ds056.stderr
@@ -1,4 +1,4 @@
ds056.hs:8:1: Warning:
Pattern match(es) are overlapped
- In an equation for ‛g’: g _ = ...
+ In an equation for ‘g’: g _ = ...