diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-02-23 22:00:57 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-02-25 11:06:51 +0100 |
commit | 018676c7f883886b388652c913c99a10d2591b0b (patch) | |
tree | ddeb1cd21f74b21f12b1d1ddbc26abb934136587 /testsuite/tests/parser/should_fail | |
parent | ede5b5180c2a5db3f51b01dbef402d21ace9601c (diff) | |
download | haskell-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/parser/should_fail')
32 files changed, 62 insertions, 62 deletions
diff --git a/testsuite/tests/parser/should_fail/ExportCommaComma.stderr b/testsuite/tests/parser/should_fail/ExportCommaComma.stderr index 99b8d6a777..e5cf1b5a5f 100644 --- a/testsuite/tests/parser/should_fail/ExportCommaComma.stderr +++ b/testsuite/tests/parser/should_fail/ExportCommaComma.stderr @@ -1,2 +1,2 @@ -ExportCommaComma.hs:2:38: parse error on input ‛,’ +ExportCommaComma.hs:2:38: parse error on input ‘,’ diff --git a/testsuite/tests/parser/should_fail/ParserNoLambdaCase.stderr b/testsuite/tests/parser/should_fail/ParserNoLambdaCase.stderr index 00dd88b53f..147c8fef9c 100644 --- a/testsuite/tests/parser/should_fail/ParserNoLambdaCase.stderr +++ b/testsuite/tests/parser/should_fail/ParserNoLambdaCase.stderr @@ -1,2 +1,2 @@ -ParserNoLambdaCase.hs:3:6: parse error on input ‛case’ +ParserNoLambdaCase.hs:3:6: parse error on input ‘case’ diff --git a/testsuite/tests/parser/should_fail/T3811d.stderr b/testsuite/tests/parser/should_fail/T3811d.stderr index d0cbacc3ff..fb23eceb2c 100644 --- a/testsuite/tests/parser/should_fail/T3811d.stderr +++ b/testsuite/tests/parser/should_fail/T3811d.stderr @@ -1,6 +1,6 @@ T3811d.hs:6:11: - Unexpected type ‛D Char’ - In the class declaration for ‛C’ + Unexpected type ‘D Char’ + In the class declaration for ‘C’ A class declaration should have form class C a b c where ... diff --git a/testsuite/tests/parser/should_fail/T7848.stderr b/testsuite/tests/parser/should_fail/T7848.stderr index 3fc3998a01..1cbf5f4a85 100644 --- a/testsuite/tests/parser/should_fail/T7848.stderr +++ b/testsuite/tests/parser/should_fail/T7848.stderr @@ -1,14 +1,14 @@ T7848.hs:10:9: - Couldn't match expected type ‛forall a. a’ - with actual type ‛t -> t1 -> A -> A -> A -> A -> t2’ + Couldn't match expected type ‘forall a. a’ + with actual type ‘t -> t1 -> A -> A -> A -> A -> t2’ Relevant bindings include z :: t1 (bound at T7848.hs:6:12) (&) :: t1 (bound at T7848.hs:6:8) (+) :: t (bound at T7848.hs:6:3) x :: t -> t1 -> A -> A -> A -> A -> t2 (bound at T7848.hs:6:1) In the SPECIALISE pragma {-# SPECIALIZE (&) :: a #-} - In an equation for ‛x’: + In an equation for ‘x’: x (+) ((&)@z) ((:&&) a b) (c :&& d) (e `A` f) (A g h) = y where diff --git a/testsuite/tests/parser/should_fail/T8431.stderr b/testsuite/tests/parser/should_fail/T8431.stderr index 2f05838425..4a4d1fe1ae 100644 --- a/testsuite/tests/parser/should_fail/T8431.stderr +++ b/testsuite/tests/parser/should_fail/T8431.stderr @@ -1,2 +1,2 @@ -T8431.hs:1:1: parse error on input ‛)’ +T8431.hs:1:1: parse error on input ‘)’ diff --git a/testsuite/tests/parser/should_fail/T8506.stderr b/testsuite/tests/parser/should_fail/T8506.stderr index bfccfaf14c..b0e9fde84b 100644 --- a/testsuite/tests/parser/should_fail/T8506.stderr +++ b/testsuite/tests/parser/should_fail/T8506.stderr @@ -1,6 +1,6 @@ T8506.hs:3:16: - Unexpected type ‛Int’ - In the class declaration for ‛Shapable’ + Unexpected type ‘Int’ + In the class declaration for ‘Shapable’ A class declaration should have form class Shapable a b c where ... diff --git a/testsuite/tests/parser/should_fail/position001.stderr b/testsuite/tests/parser/should_fail/position001.stderr index dabcfe45de..d83041b460 100644 --- a/testsuite/tests/parser/should_fail/position001.stderr +++ b/testsuite/tests/parser/should_fail/position001.stderr @@ -1,2 +1,2 @@ -position001.hs:6:33: parse error on input ‛module’ +position001.hs:6:33: parse error on input ‘module’ diff --git a/testsuite/tests/parser/should_fail/position002.stderr b/testsuite/tests/parser/should_fail/position002.stderr index 4bf5e3e808..a57a790323 100644 --- a/testsuite/tests/parser/should_fail/position002.stderr +++ b/testsuite/tests/parser/should_fail/position002.stderr @@ -1,2 +1,2 @@ -position002.hs:6:33: parse error on input ‛module’ +position002.hs:6:33: parse error on input ‘module’ diff --git a/testsuite/tests/parser/should_fail/readFail001.stderr b/testsuite/tests/parser/should_fail/readFail001.stderr index dc02e8588f..e0859e8a1c 100644 --- a/testsuite/tests/parser/should_fail/readFail001.stderr +++ b/testsuite/tests/parser/should_fail/readFail001.stderr @@ -1,26 +1,26 @@ readFail001.hs:25:11: - The fixity signature for ‛+#’ lacks an accompanying binding + The fixity signature for ‘+#’ lacks an accompanying binding readFail001.hs:38:32: - Not in scope: type constructor or class ‛Leaf’ + Not in scope: type constructor or class ‘Leaf’ A data constructor of that name is in scope; did you mean DataKinds? readFail001.hs:38:41: - Not in scope: type constructor or class ‛Leaf’ + Not in scope: type constructor or class ‘Leaf’ A data constructor of that name is in scope; did you mean DataKinds? -readFail001.hs:87:11: Not in scope: ‛x’ +readFail001.hs:87:11: Not in scope: ‘x’ -readFail001.hs:88:19: Not in scope: ‛x’ +readFail001.hs:88:19: Not in scope: ‘x’ -readFail001.hs:94:19: Not in scope: ‛isSpace’ +readFail001.hs:94:19: Not in scope: ‘isSpace’ -readFail001.hs:95:13: Not in scope: ‛foo’ +readFail001.hs:95:13: Not in scope: ‘foo’ -readFail001.hs:107:30: Not in scope: data constructor ‛Foo’ +readFail001.hs:107:30: Not in scope: data constructor ‘Foo’ -readFail001.hs:107:42: Not in scope: data constructor ‛Bar’ +readFail001.hs:107:42: Not in scope: data constructor ‘Bar’ readFail001.hs:112:23: - Not in scope: type constructor or class ‛Foo’ + Not in scope: type constructor or class ‘Foo’ diff --git a/testsuite/tests/parser/should_fail/readFail006.stderr b/testsuite/tests/parser/should_fail/readFail006.stderr index f80f2dd5f7..f697584e4a 100644 --- a/testsuite/tests/parser/should_fail/readFail006.stderr +++ b/testsuite/tests/parser/should_fail/readFail006.stderr @@ -1,2 +1,2 @@ -readFail006.hs:8:12: parse error on input ‛@’ +readFail006.hs:8:12: parse error on input ‘@’ diff --git a/testsuite/tests/parser/should_fail/readFail008.stderr b/testsuite/tests/parser/should_fail/readFail008.stderr index a2701740b0..8fd289a301 100644 --- a/testsuite/tests/parser/should_fail/readFail008.stderr +++ b/testsuite/tests/parser/should_fail/readFail008.stderr @@ -1,6 +1,6 @@ readFail008.hs:5:15: A newtype constructor cannot have a strictness annotation, - but ‛T’ does - In the definition of data constructor ‛T’ - In the newtype declaration for ‛N’ + but ‘T’ does + In the definition of data constructor ‘T’ + In the newtype declaration for ‘N’ diff --git a/testsuite/tests/parser/should_fail/readFail011.stderr b/testsuite/tests/parser/should_fail/readFail011.stderr index 0d1e52e09a..5c5504ba9a 100644 --- a/testsuite/tests/parser/should_fail/readFail011.stderr +++ b/testsuite/tests/parser/should_fail/readFail011.stderr @@ -1,2 +1,2 @@ -readFail011.hs:7:10: parse error on input ‛=’ +readFail011.hs:7:10: parse error on input ‘=’ diff --git a/testsuite/tests/parser/should_fail/readFail013.stderr b/testsuite/tests/parser/should_fail/readFail013.stderr index 114252c094..ee3db9bae1 100644 --- a/testsuite/tests/parser/should_fail/readFail013.stderr +++ b/testsuite/tests/parser/should_fail/readFail013.stderr @@ -1,2 +1,2 @@ -readFail013.hs:4:5: parse error on input ‛`’ +readFail013.hs:4:5: parse error on input ‘`’ diff --git a/testsuite/tests/parser/should_fail/readFail014.stderr b/testsuite/tests/parser/should_fail/readFail014.stderr index 6582b49fcc..d8012cc19c 100644 --- a/testsuite/tests/parser/should_fail/readFail014.stderr +++ b/testsuite/tests/parser/should_fail/readFail014.stderr @@ -1,2 +1,2 @@ -readFail014.hs:3:12: parse error on input ‛}’ +readFail014.hs:3:12: parse error on input ‘}’ diff --git a/testsuite/tests/parser/should_fail/readFail016.stderr b/testsuite/tests/parser/should_fail/readFail016.stderr index 87f3d2c657..33ccbed470 100644 --- a/testsuite/tests/parser/should_fail/readFail016.stderr +++ b/testsuite/tests/parser/should_fail/readFail016.stderr @@ -1,4 +1,4 @@ readFail016.hs:7:1: Precedence parsing error - cannot mix ‛|-’ [infix 6] and ‛:’ [infixr 5] in the same infix expression + cannot mix ‘|-’ [infix 6] and ‘:’ [infixr 5] in the same infix expression diff --git a/testsuite/tests/parser/should_fail/readFail019.stderr b/testsuite/tests/parser/should_fail/readFail019.stderr index 3428176934..0cf26735a0 100644 --- a/testsuite/tests/parser/should_fail/readFail019.stderr +++ b/testsuite/tests/parser/should_fail/readFail019.stderr @@ -1,2 +1,2 @@ -readFail019.hs:3:18: parse error on input ‛in’ +readFail019.hs:3:18: parse error on input ‘in’ diff --git a/testsuite/tests/parser/should_fail/readFail020.stderr b/testsuite/tests/parser/should_fail/readFail020.stderr index aba8a92b78..0e3bde41da 100644 --- a/testsuite/tests/parser/should_fail/readFail020.stderr +++ b/testsuite/tests/parser/should_fail/readFail020.stderr @@ -1,2 +1,2 @@ -readFail020.hs:3:16: parse error on input ‛}’ +readFail020.hs:3:16: parse error on input ‘}’ diff --git a/testsuite/tests/parser/should_fail/readFail021.stderr b/testsuite/tests/parser/should_fail/readFail021.stderr index ee6889fe4f..fe9c64b7e7 100644 --- a/testsuite/tests/parser/should_fail/readFail021.stderr +++ b/testsuite/tests/parser/should_fail/readFail021.stderr @@ -1,3 +1,3 @@ readFail021.hs:1:1: - The IO action ‛main’ is not defined in module ‛Main’ + The IO action ‘main’ is not defined in module ‘Main’ diff --git a/testsuite/tests/parser/should_fail/readFail023.stderr b/testsuite/tests/parser/should_fail/readFail023.stderr index c31dc4e993..7c60be5108 100644 --- a/testsuite/tests/parser/should_fail/readFail023.stderr +++ b/testsuite/tests/parser/should_fail/readFail023.stderr @@ -1,6 +1,6 @@ readFail023.hs:9:5: - The operator ‛**’ [infixl 7] of a section + The operator ‘**’ [infixl 7] of a section must have lower precedence than that of the operand, namely prefix `-' [infixl 6] - in the section: ‛- 3 **’ + in the section: ‘- 3 **’ diff --git a/testsuite/tests/parser/should_fail/readFail024.stderr b/testsuite/tests/parser/should_fail/readFail024.stderr index 3338410229..45c8458d6c 100644 --- a/testsuite/tests/parser/should_fail/readFail024.stderr +++ b/testsuite/tests/parser/should_fail/readFail024.stderr @@ -1,2 +1,2 @@ -readFail024.hs:5:2: parse error on input ‛h’ +readFail024.hs:5:2: parse error on input ‘h’ diff --git a/testsuite/tests/parser/should_fail/readFail025.stderr b/testsuite/tests/parser/should_fail/readFail025.stderr index e706e52fc9..da220cd0c3 100644 --- a/testsuite/tests/parser/should_fail/readFail025.stderr +++ b/testsuite/tests/parser/should_fail/readFail025.stderr @@ -1,6 +1,6 @@ readFail025.hs:5:8: - Unexpected type ‛String’ - In the data declaration for ‛T’ + Unexpected type ‘String’ + In the data declaration for ‘T’ A data declaration should have form data T a b c = ... diff --git a/testsuite/tests/parser/should_fail/readFail026.stderr b/testsuite/tests/parser/should_fail/readFail026.stderr index 3c237954b8..0577b26d45 100644 --- a/testsuite/tests/parser/should_fail/readFail026.stderr +++ b/testsuite/tests/parser/should_fail/readFail026.stderr @@ -1,2 +1,2 @@ -readFail026.hs:3:7: parse error on input ‛,’ +readFail026.hs:3:7: parse error on input ‘,’ diff --git a/testsuite/tests/parser/should_fail/readFail034.stderr b/testsuite/tests/parser/should_fail/readFail034.stderr index 201abd4011..027d0ca13f 100644 --- a/testsuite/tests/parser/should_fail/readFail034.stderr +++ b/testsuite/tests/parser/should_fail/readFail034.stderr @@ -1,2 +1,2 @@ -readFail034.hs:4:6: parse error on input ‛=’ +readFail034.hs:4:6: parse error on input ‘=’ diff --git a/testsuite/tests/parser/should_fail/readFail035.stderr b/testsuite/tests/parser/should_fail/readFail035.stderr index cd0f2c38ea..574cde49ab 100644 --- a/testsuite/tests/parser/should_fail/readFail035.stderr +++ b/testsuite/tests/parser/should_fail/readFail035.stderr @@ -1,4 +1,4 @@ readFail035.hs:6:1: - ‛Foo’ has no constructors (EmptyDataDecls permits this) - In the data declaration for ‛Foo’ + ‘Foo’ has no constructors (EmptyDataDecls permits this) + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/parser/should_fail/readFail036.stderr b/testsuite/tests/parser/should_fail/readFail036.stderr index 8c9d4d4aa3..0d22eb8363 100644 --- a/testsuite/tests/parser/should_fail/readFail036.stderr +++ b/testsuite/tests/parser/should_fail/readFail036.stderr @@ -1,5 +1,5 @@ readFail036.hs:4:16: - Illegal kind signature: ‛*’ + Illegal kind signature: ‘*’ Perhaps you intended to use KindSignatures - In the data type declaration for ‛Foo’ + In the data type declaration for ‘Foo’ diff --git a/testsuite/tests/parser/should_fail/readFail037.stderr b/testsuite/tests/parser/should_fail/readFail037.stderr index e3e65cf645..6fcd2db206 100644 --- a/testsuite/tests/parser/should_fail/readFail037.stderr +++ b/testsuite/tests/parser/should_fail/readFail037.stderr @@ -1,5 +1,5 @@ readFail037.hs:4:1: - Too many parameters for class ‛Foo’ + Too many parameters for class ‘Foo’ (Use MultiParamTypeClasses to allow multi-parameter classes) - In the class declaration for ‛Foo’ + In the class declaration for ‘Foo’ diff --git a/testsuite/tests/parser/should_fail/readFail039.stderr b/testsuite/tests/parser/should_fail/readFail039.stderr index a4ffdf8dac..81d5001624 100644 --- a/testsuite/tests/parser/should_fail/readFail039.stderr +++ b/testsuite/tests/parser/should_fail/readFail039.stderr @@ -1,6 +1,6 @@ readFail039.hs:8:14: - Can't make a derived instance of ‛C Foo’: - ‛C’ is not a derivable class + Can't make a derived instance of ‘C Foo’: + ‘C’ is not a derivable class Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension - In the newtype declaration for ‛Foo’ + In the newtype declaration for ‘Foo’ diff --git a/testsuite/tests/parser/should_fail/readFail040.stderr b/testsuite/tests/parser/should_fail/readFail040.stderr index 31a3618214..6cbb3ce525 100644 --- a/testsuite/tests/parser/should_fail/readFail040.stderr +++ b/testsuite/tests/parser/should_fail/readFail040.stderr @@ -1,2 +1,2 @@ -readFail040.hs:7:11: parse error on input ‛<-’ +readFail040.hs:7:11: parse error on input ‘<-’ diff --git a/testsuite/tests/parser/should_fail/readFail041.stderr b/testsuite/tests/parser/should_fail/readFail041.stderr index f94d2282ed..c5b28a6f0f 100644 --- a/testsuite/tests/parser/should_fail/readFail041.stderr +++ b/testsuite/tests/parser/should_fail/readFail041.stderr @@ -1,5 +1,5 @@ readFail041.hs:6:1: - Fundeps in class ‛Foo’ + Fundeps in class ‘Foo’ (Use FunctionalDependencies to allow fundeps) - In the class declaration for ‛Foo’ + In the class declaration for ‘Foo’ diff --git a/testsuite/tests/parser/should_fail/readFail042.stderr b/testsuite/tests/parser/should_fail/readFail042.stderr index 433397ff11..b5d64f81c5 100644 --- a/testsuite/tests/parser/should_fail/readFail042.stderr +++ b/testsuite/tests/parser/should_fail/readFail042.stderr @@ -7,6 +7,6 @@ readFail042.hs:11:9: Unexpected transform statement in a list comprehension Use TransformListComp -readFail042.hs:11:23: Not in scope: ‛by’ +readFail042.hs:11:23: Not in scope: ‘by’ -readFail042.hs:11:26: Not in scope: ‛x’ +readFail042.hs:11:26: Not in scope: ‘x’ diff --git a/testsuite/tests/parser/should_fail/readFail043.stderr b/testsuite/tests/parser/should_fail/readFail043.stderr index b39f8f87a2..bdbacb7980 100644 --- a/testsuite/tests/parser/should_fail/readFail043.stderr +++ b/testsuite/tests/parser/should_fail/readFail043.stderr @@ -3,24 +3,24 @@ readFail043.hs:10:9: Unexpected transform statement in a list comprehension Use TransformListComp -readFail043.hs:10:20: Not in scope: ‛by’ +readFail043.hs:10:20: Not in scope: ‘by’ -readFail043.hs:10:23: Not in scope: ‛x’ +readFail043.hs:10:23: Not in scope: ‘x’ -readFail043.hs:10:25: Not in scope: ‛using’ +readFail043.hs:10:25: Not in scope: ‘using’ readFail043.hs:11:9: Unexpected transform statement in a list comprehension Use TransformListComp -readFail043.hs:11:20: Not in scope: ‛by’ +readFail043.hs:11:20: Not in scope: ‘by’ -readFail043.hs:11:23: Not in scope: ‛x’ +readFail043.hs:11:23: Not in scope: ‘x’ -readFail043.hs:11:25: Not in scope: ‛using’ +readFail043.hs:11:25: Not in scope: ‘using’ readFail043.hs:12:9: Unexpected transform statement in a list comprehension Use TransformListComp -readFail043.hs:12:20: Not in scope: ‛using’ +readFail043.hs:12:20: Not in scope: ‘using’ diff --git a/testsuite/tests/parser/should_fail/readFail046.stderr b/testsuite/tests/parser/should_fail/readFail046.stderr index 072fe530f9..5ac8b7091a 100644 --- a/testsuite/tests/parser/should_fail/readFail046.stderr +++ b/testsuite/tests/parser/should_fail/readFail046.stderr @@ -1,4 +1,4 @@ readFail046.hs:1:14: Unsupported extension: ExistientialQuantification - Perhaps you meant ‛ExistentialQuantification’ or ‛NoExistentialQuantification’ + Perhaps you meant ‘ExistentialQuantification’ or ‘NoExistentialQuantification’ |