summaryrefslogtreecommitdiff
path: root/testsuite/tests/generics
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/generics
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/generics')
-rw-r--r--testsuite/tests/generics/GenCannotDoRep0_0.stderr16
-rw-r--r--testsuite/tests/generics/GenCannotDoRep0_1.stderr4
-rw-r--r--testsuite/tests/generics/GenCannotDoRep0_2.stderr4
-rw-r--r--testsuite/tests/generics/GenCannotDoRep1_0.stderr4
-rw-r--r--testsuite/tests/generics/GenCannotDoRep1_1.stderr4
-rw-r--r--testsuite/tests/generics/GenCannotDoRep1_2.stderr4
-rw-r--r--testsuite/tests/generics/GenCannotDoRep1_3.stderr6
-rw-r--r--testsuite/tests/generics/GenCannotDoRep1_4.stderr6
-rw-r--r--testsuite/tests/generics/GenCannotDoRep1_6.stderr6
-rw-r--r--testsuite/tests/generics/GenCannotDoRep1_7.stderr6
-rw-r--r--testsuite/tests/generics/GenCannotDoRep1_8.stderr6
-rw-r--r--testsuite/tests/generics/GenShouldFail0.stderr4
-rw-r--r--testsuite/tests/generics/GenShouldFail1_0.stderr4
-rw-r--r--testsuite/tests/generics/T8468.stderr4
14 files changed, 39 insertions, 39 deletions
diff --git a/testsuite/tests/generics/GenCannotDoRep0_0.stderr b/testsuite/tests/generics/GenCannotDoRep0_0.stderr
index ae1cdc7bec..3537dac4d6 100644
--- a/testsuite/tests/generics/GenCannotDoRep0_0.stderr
+++ b/testsuite/tests/generics/GenCannotDoRep0_0.stderr
@@ -3,21 +3,21 @@ GenCannotDoRep0_0.hs:6:14: Warning:
-XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language.
GenCannotDoRep0_0.hs:13:45:
- Can't make a derived instance of ‛Generic Dynamic’:
+ Can't make a derived instance of ‘Generic Dynamic’:
Dynamic must be a vanilla data constructor
- In the data declaration for ‛Dynamic’
+ In the data declaration for ‘Dynamic’
GenCannotDoRep0_0.hs:17:1:
- Can't make a derived instance of ‛Generic (P Int)’:
+ Can't make a derived instance of ‘Generic (P Int)’:
P must not be instantiated; try deriving `P a' instead
- In the stand-alone deriving instance for ‛Generic (P Int)’
+ In the stand-alone deriving instance for ‘Generic (P Int)’
GenCannotDoRep0_0.hs:26:1:
- Can't make a derived instance of ‛Generic (D Char Char)’:
+ Can't make a derived instance of ‘Generic (D Char Char)’:
D must not be instantiated; try deriving `D Char b' instead
- In the stand-alone deriving instance for ‛Generic (D Char Char)’
+ In the stand-alone deriving instance for ‘Generic (D Char Char)’
GenCannotDoRep0_0.hs:28:1:
- Can't make a derived instance of ‛Generic (D Int a)’:
+ Can't make a derived instance of ‘Generic (D Int a)’:
D must not have a datatype context
- In the stand-alone deriving instance for ‛Generic (D Int a)’
+ In the stand-alone deriving instance for ‘Generic (D Int a)’
diff --git a/testsuite/tests/generics/GenCannotDoRep0_1.stderr b/testsuite/tests/generics/GenCannotDoRep0_1.stderr
index 280885f1a4..cb1221c413 100644
--- a/testsuite/tests/generics/GenCannotDoRep0_1.stderr
+++ b/testsuite/tests/generics/GenCannotDoRep0_1.stderr
@@ -3,6 +3,6 @@ GenCannotDoRep0_1.hs:1:29: Warning:
-XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language.
GenCannotDoRep0_1.hs:8:49:
- Can't make a derived instance of ‛Generic (Context a)’:
+ Can't make a derived instance of ‘Generic (Context a)’:
Context must not have a datatype context
- In the data declaration for ‛Context’
+ In the data declaration for ‘Context’
diff --git a/testsuite/tests/generics/GenCannotDoRep0_2.stderr b/testsuite/tests/generics/GenCannotDoRep0_2.stderr
index 6dad193f4b..9d0f7020d6 100644
--- a/testsuite/tests/generics/GenCannotDoRep0_2.stderr
+++ b/testsuite/tests/generics/GenCannotDoRep0_2.stderr
@@ -1,5 +1,5 @@
GenCannotDoRep0_2.hs:13:1:
- Can't make a derived instance of ‛Generic (Term a)’:
+ Can't make a derived instance of ‘Generic (Term a)’:
Int must be a vanilla data constructor
- In the stand-alone deriving instance for ‛Generic (Term a)’
+ In the stand-alone deriving instance for ‘Generic (Term a)’
diff --git a/testsuite/tests/generics/GenCannotDoRep1_0.stderr b/testsuite/tests/generics/GenCannotDoRep1_0.stderr
index c75205a380..e40f359613 100644
--- a/testsuite/tests/generics/GenCannotDoRep1_0.stderr
+++ b/testsuite/tests/generics/GenCannotDoRep1_0.stderr
@@ -1,5 +1,5 @@
GenCannotDoRep1_0.hs:9:49:
- Can't make a derived instance of ‛Generic1 Dynamic’:
+ Can't make a derived instance of ‘Generic1 Dynamic’:
Dynamic must be a vanilla data constructor
- In the data declaration for ‛Dynamic’
+ In the data declaration for ‘Dynamic’
diff --git a/testsuite/tests/generics/GenCannotDoRep1_1.stderr b/testsuite/tests/generics/GenCannotDoRep1_1.stderr
index 97eeca51a9..6e29d008a2 100644
--- a/testsuite/tests/generics/GenCannotDoRep1_1.stderr
+++ b/testsuite/tests/generics/GenCannotDoRep1_1.stderr
@@ -3,6 +3,6 @@ GenCannotDoRep1_1.hs:1:29: Warning:
-XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language.
GenCannotDoRep1_1.hs:8:49:
- Can't make a derived instance of ‛Generic1 Context’:
+ Can't make a derived instance of ‘Generic1 Context’:
Context must not have a datatype context
- In the data declaration for ‛Context’
+ In the data declaration for ‘Context’
diff --git a/testsuite/tests/generics/GenCannotDoRep1_2.stderr b/testsuite/tests/generics/GenCannotDoRep1_2.stderr
index 32aebb7fc9..17e1f5944f 100644
--- a/testsuite/tests/generics/GenCannotDoRep1_2.stderr
+++ b/testsuite/tests/generics/GenCannotDoRep1_2.stderr
@@ -1,5 +1,5 @@
GenCannotDoRep1_2.hs:13:1:
- Can't make a derived instance of ‛Generic1 Term’:
+ Can't make a derived instance of ‘Generic1 Term’:
Int must be a vanilla data constructor
- In the stand-alone deriving instance for ‛Generic1 Term’
+ In the stand-alone deriving instance for ‘Generic1 Term’
diff --git a/testsuite/tests/generics/GenCannotDoRep1_3.stderr b/testsuite/tests/generics/GenCannotDoRep1_3.stderr
index eb70075920..2b7a280923 100644
--- a/testsuite/tests/generics/GenCannotDoRep1_3.stderr
+++ b/testsuite/tests/generics/GenCannotDoRep1_3.stderr
@@ -1,6 +1,6 @@
GenCannotDoRep1_3.hs:11:33:
- Can't make a derived instance of ‛Generic1 T’:
- Constructor ‛T’ applies a type to an argument involving the last parameter
+ Can't make a derived instance of ‘Generic1 T’:
+ Constructor ‘T’ applies a type to an argument involving the last parameter
but the applied type is not of kind * -> *
- In the data declaration for ‛T’
+ In the data declaration for ‘T’
diff --git a/testsuite/tests/generics/GenCannotDoRep1_4.stderr b/testsuite/tests/generics/GenCannotDoRep1_4.stderr
index 898134c117..973c9b0843 100644
--- a/testsuite/tests/generics/GenCannotDoRep1_4.stderr
+++ b/testsuite/tests/generics/GenCannotDoRep1_4.stderr
@@ -1,6 +1,6 @@
GenCannotDoRep1_4.hs:8:34:
- Can't make a derived instance of ‛Generic1 T’:
- Constructor ‛T’ applies a type to an argument involving the last parameter
+ Can't make a derived instance of ‘Generic1 T’:
+ Constructor ‘T’ applies a type to an argument involving the last parameter
but the applied type is not of kind * -> *
- In the data declaration for ‛T’
+ In the data declaration for ‘T’
diff --git a/testsuite/tests/generics/GenCannotDoRep1_6.stderr b/testsuite/tests/generics/GenCannotDoRep1_6.stderr
index be5d96ada6..04d88bf90e 100644
--- a/testsuite/tests/generics/GenCannotDoRep1_6.stderr
+++ b/testsuite/tests/generics/GenCannotDoRep1_6.stderr
@@ -1,6 +1,6 @@
GenCannotDoRep1_6.hs:9:43:
- Can't make a derived instance of ‛Generic1 T’:
- Constructor ‛T’ applies a type to an argument involving the last parameter
+ Can't make a derived instance of ‘Generic1 T’:
+ Constructor ‘T’ applies a type to an argument involving the last parameter
but the applied type is not of kind * -> *
- In the data declaration for ‛T’
+ In the data declaration for ‘T’
diff --git a/testsuite/tests/generics/GenCannotDoRep1_7.stderr b/testsuite/tests/generics/GenCannotDoRep1_7.stderr
index 34302ca483..a35df31863 100644
--- a/testsuite/tests/generics/GenCannotDoRep1_7.stderr
+++ b/testsuite/tests/generics/GenCannotDoRep1_7.stderr
@@ -1,6 +1,6 @@
GenCannotDoRep1_7.hs:9:32:
- Can't make a derived instance of ‛Generic1 I’:
- Constructor ‛I’ applies a type to an argument involving the last parameter
+ Can't make a derived instance of ‘Generic1 I’:
+ Constructor ‘I’ applies a type to an argument involving the last parameter
but the applied type is not of kind * -> *
- In the data declaration for ‛I’
+ In the data declaration for ‘I’
diff --git a/testsuite/tests/generics/GenCannotDoRep1_8.stderr b/testsuite/tests/generics/GenCannotDoRep1_8.stderr
index d42fbe08b7..1cf9bb9794 100644
--- a/testsuite/tests/generics/GenCannotDoRep1_8.stderr
+++ b/testsuite/tests/generics/GenCannotDoRep1_8.stderr
@@ -1,6 +1,6 @@
GenCannotDoRep1_8.hs:12:30:
- Can't make a derived instance of ‛Generic1 T’:
- Constructor ‛T’ applies a type to an argument involving the last parameter
+ Can't make a derived instance of ‘Generic1 T’:
+ Constructor ‘T’ applies a type to an argument involving the last parameter
but the applied type is not of kind * -> *
- In the data declaration for ‛T’
+ In the data declaration for ‘T’
diff --git a/testsuite/tests/generics/GenShouldFail0.stderr b/testsuite/tests/generics/GenShouldFail0.stderr
index 0c941b9781..270c872f56 100644
--- a/testsuite/tests/generics/GenShouldFail0.stderr
+++ b/testsuite/tests/generics/GenShouldFail0.stderr
@@ -1,5 +1,5 @@
GenShouldFail0.hs:9:1:
- Can't make a derived instance of ‛Generic X’:
+ Can't make a derived instance of ‘Generic X’:
You need DeriveGeneric to derive an instance for this class
- In the stand-alone deriving instance for ‛Generic X’
+ In the stand-alone deriving instance for ‘Generic X’
diff --git a/testsuite/tests/generics/GenShouldFail1_0.stderr b/testsuite/tests/generics/GenShouldFail1_0.stderr
index d368be58cd..e75404f8bb 100644
--- a/testsuite/tests/generics/GenShouldFail1_0.stderr
+++ b/testsuite/tests/generics/GenShouldFail1_0.stderr
@@ -1,5 +1,5 @@
GenShouldFail1_0.hs:9:1:
- Can't make a derived instance of ‛Generic1 X’:
+ Can't make a derived instance of ‘Generic1 X’:
You need DeriveGeneric to derive an instance for this class
- In the stand-alone deriving instance for ‛Generic1 X’
+ In the stand-alone deriving instance for ‘Generic1 X’
diff --git a/testsuite/tests/generics/T8468.stderr b/testsuite/tests/generics/T8468.stderr
index e95c51d3ec..62536cec69 100644
--- a/testsuite/tests/generics/T8468.stderr
+++ b/testsuite/tests/generics/T8468.stderr
@@ -1,5 +1,5 @@
T8468.hs:6:42:
- Can't make a derived instance of ‛Generic1 Array’:
+ Can't make a derived instance of ‘Generic1 Array’:
Array must not have unlifted or polymorphic arguments
- In the data declaration for ‛Array’
+ In the data declaration for ‘Array’