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 | |
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')
874 files changed, 2730 insertions, 2730 deletions
diff --git a/testsuite/tests/annotations/should_fail/annfail01.stderr b/testsuite/tests/annotations/should_fail/annfail01.stderr index 6cafc25490..44ac680a89 100644 --- a/testsuite/tests/annotations/should_fail/annfail01.stderr +++ b/testsuite/tests/annotations/should_fail/annfail01.stderr @@ -1,8 +1,8 @@ annfail01.hs:4:1: - Not in scope: type constructor or class ‛Foo’ + Not in scope: type constructor or class ‘Foo’ In the annotation: {-# ANN type Foo (1 :: Int) #-} annfail01.hs:5:1: - Not in scope: ‛f’ + Not in scope: ‘f’ In the annotation: {-# ANN f (1 :: Int) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail02.stderr b/testsuite/tests/annotations/should_fail/annfail02.stderr index 84c954883a..d52e52abdd 100644 --- a/testsuite/tests/annotations/should_fail/annfail02.stderr +++ b/testsuite/tests/annotations/should_fail/annfail02.stderr @@ -1,8 +1,8 @@ annfail02.hs:6:1: - Not in scope: data constructor ‛Foo’ + Not in scope: data constructor ‘Foo’ In the annotation: {-# ANN Foo (1 :: Int) #-} annfail02.hs:7:1: - Not in scope: type constructor or class ‛Bar’ + Not in scope: type constructor or class ‘Bar’ In the annotation: {-# ANN type Bar (2 :: Int) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail03.stderr b/testsuite/tests/annotations/should_fail/annfail03.stderr index 7e880d4d95..05e05a6bee 100644 --- a/testsuite/tests/annotations/should_fail/annfail03.stderr +++ b/testsuite/tests/annotations/should_fail/annfail03.stderr @@ -1,6 +1,6 @@ annfail03.hs:17:11: GHC stage restriction: - ‛InModule’ is used in a top-level splice or annotation, + ‘InModule’ is used in a top-level splice or annotation, and must be imported, not defined locally In the annotation: {-# ANN f InModule #-} diff --git a/testsuite/tests/annotations/should_fail/annfail04.stderr b/testsuite/tests/annotations/should_fail/annfail04.stderr index 70ff2e685b..bb638bc2ab 100644 --- a/testsuite/tests/annotations/should_fail/annfail04.stderr +++ b/testsuite/tests/annotations/should_fail/annfail04.stderr @@ -1,7 +1,7 @@ annfail04.hs:14:12: GHC stage restriction: - instance for ‛Thing + instance for ‘Thing Int’ is used in a top-level splice or annotation, and must be imported, not defined locally In the annotation: {-# ANN f (thing :: Int) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail06.stderr b/testsuite/tests/annotations/should_fail/annfail06.stderr index a807aafd9b..6bae2c11b7 100644 --- a/testsuite/tests/annotations/should_fail/annfail06.stderr +++ b/testsuite/tests/annotations/should_fail/annfail06.stderr @@ -1,7 +1,7 @@ annfail06.hs:22:1: GHC stage restriction: - instance for ‛Data + instance for ‘Data InstancesInWrongModule’ is used in a top-level splice or annotation, and must be imported, not defined locally In the annotation: {-# ANN f InstancesInWrongModule #-} diff --git a/testsuite/tests/annotations/should_fail/annfail07.stderr b/testsuite/tests/annotations/should_fail/annfail07.stderr index 5f966a7bde..e7cd8dd000 100644 --- a/testsuite/tests/annotations/should_fail/annfail07.stderr +++ b/testsuite/tests/annotations/should_fail/annfail07.stderr @@ -1,5 +1,5 @@ annfail07.hs:9:17: - Couldn't match expected type ‛[a0]’ with actual type ‛Bool’ - In the first argument of ‛head’, namely ‛True’ + Couldn't match expected type ‘[a0]’ with actual type ‘Bool’ + In the first argument of ‘head’, namely ‘True’ In the annotation: {-# ANN f (head True) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail08.stderr b/testsuite/tests/annotations/should_fail/annfail08.stderr index 8a64c82e1e..b2d119de68 100644 --- a/testsuite/tests/annotations/should_fail/annfail08.stderr +++ b/testsuite/tests/annotations/should_fail/annfail08.stderr @@ -5,5 +5,5 @@ annfail08.hs:9:1: In the annotation: {-# ANN f (id + 1) #-} annfail08.hs:9:15: - No instance for (Num (a0 -> a0)) arising from a use of ‛+’ + No instance for (Num (a0 -> a0)) arising from a use of ‘+’ In the annotation: {-# ANN f (id + 1) #-} diff --git a/testsuite/tests/annotations/should_fail/annfail09.stderr b/testsuite/tests/annotations/should_fail/annfail09.stderr index f1bd77cb7c..f0a03aee9c 100644 --- a/testsuite/tests/annotations/should_fail/annfail09.stderr +++ b/testsuite/tests/annotations/should_fail/annfail09.stderr @@ -1,6 +1,6 @@ annfail09.hs:11:11: GHC stage restriction: - ‛g’ is used in a top-level splice or annotation, + ‘g’ is used in a top-level splice or annotation, and must be imported, not defined locally In the annotation: {-# ANN f g #-} diff --git a/testsuite/tests/annotations/should_fail/annfail10.stderr b/testsuite/tests/annotations/should_fail/annfail10.stderr index f9bfe2697e..17d380ea7b 100644 --- a/testsuite/tests/annotations/should_fail/annfail10.stderr +++ b/testsuite/tests/annotations/should_fail/annfail10.stderr @@ -1,25 +1,25 @@ annfail10.hs:9:1: No instance for (Data.Data.Data a0) arising from an annotation - The type variable ‛a0’ is ambiguous + The type variable ‘a0’ is ambiguous Note: there are several potential instances: - instance Data.Data.Data () -- Defined in ‛Data.Data’ + instance Data.Data.Data () -- Defined in ‘Data.Data’ instance (Data.Data.Data a, Data.Data.Data b) => Data.Data.Data (a, b) - -- Defined in ‛Data.Data’ + -- Defined in ‘Data.Data’ instance (Data.Data.Data a, Data.Data.Data b, Data.Data.Data c) => Data.Data.Data (a, b, c) - -- Defined in ‛Data.Data’ + -- Defined in ‘Data.Data’ ...plus 31 others In the annotation: {-# ANN f 1 #-} annfail10.hs:9:11: - No instance for (Num a0) arising from the literal ‛1’ - The type variable ‛a0’ is ambiguous + No instance for (Num a0) arising from the literal ‘1’ + The type variable ‘a0’ is ambiguous Note: there are several potential instances: - instance Num Double -- Defined in ‛GHC.Float’ - instance Num Float -- Defined in ‛GHC.Float’ + instance Num Double -- Defined in ‘GHC.Float’ + instance Num Float -- Defined in ‘GHC.Float’ instance Integral a => Num (GHC.Real.Ratio a) - -- Defined in ‛GHC.Real’ + -- Defined in ‘GHC.Real’ ...plus 11 others In the annotation: {-# ANN f 1 #-} diff --git a/testsuite/tests/annotations/should_fail/annfail11.stderr b/testsuite/tests/annotations/should_fail/annfail11.stderr index 3fa446f8e0..384f6179aa 100644 --- a/testsuite/tests/annotations/should_fail/annfail11.stderr +++ b/testsuite/tests/annotations/should_fail/annfail11.stderr @@ -1,10 +1,10 @@ annfail11.hs:3:1: - Not in scope: ‛length’ + Not in scope: ‘length’ In the annotation: {-# ANN length "Cannot annotate other modules yet" #-} annfail11.hs:4:1: - Not in scope: type constructor or class ‛Integer’ + Not in scope: type constructor or class ‘Integer’ In the annotation: {-# ANN type Integer "Cannot annotate other modules yet" #-} diff --git a/testsuite/tests/annotations/should_fail/annfail13.stderr b/testsuite/tests/annotations/should_fail/annfail13.stderr index 8470592208..a35e9e70f3 100644 --- a/testsuite/tests/annotations/should_fail/annfail13.stderr +++ b/testsuite/tests/annotations/should_fail/annfail13.stderr @@ -1,2 +1,2 @@ -annfail13.hs:4:14: parse error on input ‛1’ +annfail13.hs:4:14: parse error on input ‘1’ diff --git a/testsuite/tests/arrows/should_fail/T5380.stderr b/testsuite/tests/arrows/should_fail/T5380.stderr index 218d36fb9c..02e65c5366 100644 --- a/testsuite/tests/arrows/should_fail/T5380.stderr +++ b/testsuite/tests/arrows/should_fail/T5380.stderr @@ -1,7 +1,7 @@ T5380.hs:7:27: - Couldn't match expected type ‛Bool’ with actual type ‛not_bool’ - ‛not_bool’ is a rigid type variable bound by + Couldn't match expected type ‘Bool’ with actual type ‘not_bool’ + ‘not_bool’ is a rigid type variable bound by the type signature for testB :: not_bool -> (() -> ()) -> () -> not_unit at T5380.hs:6:10 @@ -13,8 +13,8 @@ T5380.hs:7:27: In the expression: proc () -> if b then f -< () else f -< () T5380.hs:7:34: - Couldn't match type ‛not_unit’ with ‛()’ - ‛not_unit’ is a rigid type variable bound by + Couldn't match type ‘not_unit’ with ‘()’ + ‘not_unit’ is a rigid type variable bound by the type signature for testB :: not_bool -> (() -> ()) -> () -> not_unit at T5380.hs:6:10 diff --git a/testsuite/tests/arrows/should_fail/arrowfail001.stderr b/testsuite/tests/arrows/should_fail/arrowfail001.stderr index 6dc2cb76c4..5c448c7a16 100644 --- a/testsuite/tests/arrows/should_fail/arrowfail001.stderr +++ b/testsuite/tests/arrows/should_fail/arrowfail001.stderr @@ -1,7 +1,7 @@ arrowfail001.hs:16:36: - No instance for (Foo a) arising from a use of ‛foo’ + No instance for (Foo a) arising from a use of ‘foo’ In the expression: foo In the expression: proc x -> case x of { Bar a -> foo -< a } - In an equation for ‛get’: + In an equation for ‘get’: get = proc x -> case x of { Bar a -> foo -< a } diff --git a/testsuite/tests/arrows/should_fail/arrowfail002.stderr b/testsuite/tests/arrows/should_fail/arrowfail002.stderr index 67a93db719..569e1d315d 100644 --- a/testsuite/tests/arrows/should_fail/arrowfail002.stderr +++ b/testsuite/tests/arrows/should_fail/arrowfail002.stderr @@ -1,2 +1,2 @@ -arrowfail002.hs:6:17: Not in scope: ‛x’ +arrowfail002.hs:6:17: Not in scope: ‘x’ diff --git a/testsuite/tests/arrows/should_fail/arrowfail004.stderr b/testsuite/tests/arrows/should_fail/arrowfail004.stderr index 65cef2545b..1386d14ce2 100644 --- a/testsuite/tests/arrows/should_fail/arrowfail004.stderr +++ b/testsuite/tests/arrows/should_fail/arrowfail004.stderr @@ -3,5 +3,5 @@ arrowfail004.hs:12:15: Proc patterns cannot use existential or GADT data constructors In the pattern: T x In the expression: proc (T x) -> do { returnA -< T x } - In an equation for ‛panic’: + In an equation for ‘panic’: panic = proc (T x) -> do { returnA -< T x } 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 _ = ... diff --git a/testsuite/tests/deriving/should_compile/T4966.stderr b/testsuite/tests/deriving/should_compile/T4966.stderr index f2e1d836dc..d5cc4a24b2 100644 --- a/testsuite/tests/deriving/should_compile/T4966.stderr +++ b/testsuite/tests/deriving/should_compile/T4966.stderr @@ -4,5 +4,5 @@ T4966.hs:1:14: Warning: T4966.hs:34:10: Warning: No explicit implementation for - either ‛==’ or ‛/=’ - In the instance declaration for ‛Eq (TreeListObject a)’ + either ‘==’ or ‘/=’ + In the instance declaration for ‘Eq (TreeListObject a)’ diff --git a/testsuite/tests/deriving/should_compile/deriving-1935.stderr b/testsuite/tests/deriving/should_compile/deriving-1935.stderr index 4772334b20..bf2c79cb7a 100644 --- a/testsuite/tests/deriving/should_compile/deriving-1935.stderr +++ b/testsuite/tests/deriving/should_compile/deriving-1935.stderr @@ -1,15 +1,15 @@ deriving-1935.hs:15:11: Warning: No explicit implementation for - either ‛==’ or ‛/=’ - In the instance declaration for ‛Eq (T a)’ + either ‘==’ or ‘/=’ + In the instance declaration for ‘Eq (T a)’ deriving-1935.hs:18:11: Warning: No explicit implementation for - either ‛==’ or ‛/=’ - In the instance declaration for ‛Eq (S a)’ + either ‘==’ or ‘/=’ + In the instance declaration for ‘Eq (S a)’ deriving-1935.hs:19:11: Warning: No explicit implementation for - either ‛compare’ or ‛<=’ - In the instance declaration for ‛Ord (S a)’ + either ‘compare’ or ‘<=’ + In the instance declaration for ‘Ord (S a)’ diff --git a/testsuite/tests/deriving/should_compile/drv003.stderr b/testsuite/tests/deriving/should_compile/drv003.stderr index 7f58e681cb..6d9819fee8 100644 --- a/testsuite/tests/deriving/should_compile/drv003.stderr +++ b/testsuite/tests/deriving/should_compile/drv003.stderr @@ -1,10 +1,10 @@ drv003.hs:12:10: Warning: No explicit implementation for - either ‛==’ or ‛/=’ - In the instance declaration for ‛Eq (Foo a)’ + either ‘==’ or ‘/=’ + In the instance declaration for ‘Eq (Foo a)’ drv003.hs:15:10: Warning: No explicit implementation for - either ‛==’ or ‛/=’ - In the instance declaration for ‛Eq (Bar b)’ + either ‘==’ or ‘/=’ + In the instance declaration for ‘Eq (Bar b)’ diff --git a/testsuite/tests/deriving/should_compile/drv021.stderr b/testsuite/tests/deriving/should_compile/drv021.stderr index 2071183c53..e64989c194 100644 --- a/testsuite/tests/deriving/should_compile/drv021.stderr +++ b/testsuite/tests/deriving/should_compile/drv021.stderr @@ -1,13 +1,13 @@ drv021.hs:9:1: Warning: - Module ‛Data.OldTypeable’ is deprecated: Use Data.Typeable instead + Module ‘Data.OldTypeable’ is deprecated: Use Data.Typeable instead drv021.hs:14:19: Warning: - In the use of type constructor or class ‛Typeable1’ + In the use of type constructor or class ‘Typeable1’ (imported from Data.OldTypeable, but defined in Data.OldTypeable.Internal): Deprecated: "Use Data.Typeable.Internal instead" drv021.hs:15:19: Warning: - In the use of type constructor or class ‛Typeable2’ + In the use of type constructor or class ‘Typeable2’ (imported from Data.OldTypeable, but defined in Data.OldTypeable.Internal): Deprecated: "Use Data.Typeable.Internal instead" diff --git a/testsuite/tests/deriving/should_fail/T1133A.stderr b/testsuite/tests/deriving/should_fail/T1133A.stderr index a17e684309..23b93409da 100644 --- a/testsuite/tests/deriving/should_fail/T1133A.stderr +++ b/testsuite/tests/deriving/should_fail/T1133A.stderr @@ -1,7 +1,7 @@ T1133A.hs:6:28: - Can't make a derived instance of ‛Enum X’: - ‛X’ must be an enumeration type + Can't make a derived instance of ‘Enum X’: + ‘X’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension - In the newtype declaration for ‛X’ + In the newtype declaration for ‘X’ diff --git a/testsuite/tests/deriving/should_fail/T1496.stderr b/testsuite/tests/deriving/should_fail/T1496.stderr index a18d3926e7..867d6c6842 100644 --- a/testsuite/tests/deriving/should_fail/T1496.stderr +++ b/testsuite/tests/deriving/should_fail/T1496.stderr @@ -1,10 +1,10 @@ T1496.hs:10:32: - Could not coerce from ‛c Int’ to ‛c Moo’ - because ‛c Int’ and ‛c Moo’ are different types. - arising from the coercion of the method ‛isInt’ from type - ‛forall (c :: * -> *). c Int -> c Int’ to type - ‛forall (c :: * -> *). c Int -> c Moo’ + Could not coerce from ‘c Int’ to ‘c Moo’ + because ‘c Int’ and ‘c Moo’ are different types. + arising from the coercion of the method ‘isInt’ from type + ‘forall (c :: * -> *). c Int -> c Int’ to type + ‘forall (c :: * -> *). c Int -> c Moo’ Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/deriving/should_fail/T2394.stderr b/testsuite/tests/deriving/should_fail/T2394.stderr index f8ccbda848..93093658b1 100644 --- a/testsuite/tests/deriving/should_fail/T2394.stderr +++ b/testsuite/tests/deriving/should_fail/T2394.stderr @@ -1,6 +1,6 @@ T2394.hs:9:1: - Can't make a derived instance of ‛Data (a -> b)’: + Can't make a derived instance of ‘Data (a -> b)’: The last argument of the instance must be a data or newtype application In the stand-alone deriving instance for - ‛(Data a, Data b) => Data (a -> b)’ + ‘(Data a, Data b) => Data (a -> b)’ diff --git a/testsuite/tests/deriving/should_fail/T2604.stderr b/testsuite/tests/deriving/should_fail/T2604.stderr index 00262888da..1479a141fa 100644 --- a/testsuite/tests/deriving/should_fail/T2604.stderr +++ b/testsuite/tests/deriving/should_fail/T2604.stderr @@ -1,10 +1,10 @@ T2604.hs:7:35: - Can't make a derived instance of ‛Typeable DList’: + Can't make a derived instance of ‘Typeable DList’: You need DeriveDataTypeable to derive an instance for this class - In the data declaration for ‛DList’ + In the data declaration for ‘DList’ T2604.hs:9:38: - Can't make a derived instance of ‛Typeable NList’: + Can't make a derived instance of ‘Typeable NList’: You need DeriveDataTypeable to derive an instance for this class - In the newtype declaration for ‛NList’ + In the newtype declaration for ‘NList’ diff --git a/testsuite/tests/deriving/should_fail/T2701.stderr b/testsuite/tests/deriving/should_fail/T2701.stderr index 722c0c12bf..ded9a09911 100644 --- a/testsuite/tests/deriving/should_fail/T2701.stderr +++ b/testsuite/tests/deriving/should_fail/T2701.stderr @@ -1,5 +1,5 @@ T2701.hs:10:32: - Can't make a derived instance of ‛Data Foo’: - Don't know how to derive ‛Data’ for type ‛Int#’ - In the data declaration for ‛Foo’ + Can't make a derived instance of ‘Data Foo’: + Don't know how to derive ‘Data’ for type ‘Int#’ + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/deriving/should_fail/T2721.stderr b/testsuite/tests/deriving/should_fail/T2721.stderr index 64e93c3d12..908db94dbe 100644 --- a/testsuite/tests/deriving/should_fail/T2721.stderr +++ b/testsuite/tests/deriving/should_fail/T2721.stderr @@ -1,6 +1,6 @@ T2721.hs:15:28: - Can't make a derived instance of ‛C N’ + Can't make a derived instance of ‘C N’ (even with cunning newtype deriving): the class has associated types - In the newtype declaration for ‛N’ + In the newtype declaration for ‘N’ diff --git a/testsuite/tests/deriving/should_fail/T2851.stderr b/testsuite/tests/deriving/should_fail/T2851.stderr index c7a3bf59aa..780e16cbb7 100644 --- a/testsuite/tests/deriving/should_fail/T2851.stderr +++ b/testsuite/tests/deriving/should_fail/T2851.stderr @@ -1,7 +1,7 @@ T2851.hs:9:15: No instance for (Show (F a)) - arising from the first field of ‛D’ (type ‛F a’) + arising from the first field of ‘D’ (type ‘F a’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/deriving/should_fail/T3101.stderr b/testsuite/tests/deriving/should_fail/T3101.stderr index b07e2570af..58069283dc 100644 --- a/testsuite/tests/deriving/should_fail/T3101.stderr +++ b/testsuite/tests/deriving/should_fail/T3101.stderr @@ -1,6 +1,6 @@ T3101.hs:9:12: - Can't make a derived instance of ‛Show Boom’: - Constructor ‛Boom’ must have a Haskell-98 type + Can't make a derived instance of ‘Show Boom’: + Constructor ‘Boom’ must have a Haskell-98 type Possible fix: use a standalone deriving declaration instead - In the data declaration for ‛Boom’ + In the data declaration for ‘Boom’ diff --git a/testsuite/tests/deriving/should_fail/T3833.stderr b/testsuite/tests/deriving/should_fail/T3833.stderr index 3bfb85705c..4c6bf564ea 100644 --- a/testsuite/tests/deriving/should_fail/T3833.stderr +++ b/testsuite/tests/deriving/should_fail/T3833.stderr @@ -1,6 +1,6 @@ T3833.hs:9:1: - Can't make a derived instance of ‛Monoid (DecodeMap e)’: - ‛Monoid’ is not a derivable class + Can't make a derived instance of ‘Monoid (DecodeMap e)’: + ‘Monoid’ is not a derivable class Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension - In the stand-alone deriving instance for ‛Monoid (DecodeMap e)’ + In the stand-alone deriving instance for ‘Monoid (DecodeMap e)’ diff --git a/testsuite/tests/deriving/should_fail/T3834.stderr b/testsuite/tests/deriving/should_fail/T3834.stderr index ddd67b2074..d732124454 100644 --- a/testsuite/tests/deriving/should_fail/T3834.stderr +++ b/testsuite/tests/deriving/should_fail/T3834.stderr @@ -1,6 +1,6 @@ T3834.hs:8:1: - Can't make a derived instance of ‛C T’: - ‛C’ is not a derivable class + Can't make a derived instance of ‘C T’: + ‘C’ is not a derivable class Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension - In the stand-alone deriving instance for ‛C T’ + In the stand-alone deriving instance for ‘C T’ diff --git a/testsuite/tests/deriving/should_fail/T4528.stderr b/testsuite/tests/deriving/should_fail/T4528.stderr index 1746239158..0b50737300 100644 --- a/testsuite/tests/deriving/should_fail/T4528.stderr +++ b/testsuite/tests/deriving/should_fail/T4528.stderr @@ -1,14 +1,14 @@ T4528.hs:9:1: - Can't make a derived instance of ‛Enum (Foo a)’: - ‛Foo’ must be an enumeration type + Can't make a derived instance of ‘Enum (Foo a)’: + ‘Foo’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) - In the stand-alone deriving instance for ‛Enum (Foo a)’ + In the stand-alone deriving instance for ‘Enum (Foo a)’ T4528.hs:10:1: - Can't make a derived instance of ‛Bounded (Foo a)’: - ‛Foo’ must be an enumeration type + Can't make a derived instance of ‘Bounded (Foo a)’: + ‘Foo’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) or - ‛Foo’ must have precisely one constructor - In the stand-alone deriving instance for ‛Bounded (Foo a)’ + ‘Foo’ must have precisely one constructor + In the stand-alone deriving instance for ‘Bounded (Foo a)’ diff --git a/testsuite/tests/deriving/should_fail/T4846.stderr b/testsuite/tests/deriving/should_fail/T4846.stderr index dde64de90f..6024165c25 100644 --- a/testsuite/tests/deriving/should_fail/T4846.stderr +++ b/testsuite/tests/deriving/should_fail/T4846.stderr @@ -1,14 +1,14 @@ T4846.hs:29:1: - Could not coerce from ‛Expr Bool’ to ‛Expr BOOL’ - because the first type argument of ‛Expr’ has role Nominal, - but the arguments ‛Bool’ and ‛BOOL’ differ - arising from a use of ‛GHC.Prim.coerce’ + Could not coerce from ‘Expr Bool’ to ‘Expr BOOL’ + because the first type argument of ‘Expr’ has role Nominal, + but the arguments ‘Bool’ and ‘BOOL’ differ + arising from a use of ‘GHC.Prim.coerce’ In the expression: GHC.Prim.coerce (mkExpr :: Expr Bool) :: Expr BOOL - In an equation for ‛mkExpr’: + In an equation for ‘mkExpr’: mkExpr = GHC.Prim.coerce (mkExpr :: Expr Bool) :: Expr BOOL - When typechecking the code for ‛mkExpr’ - in a standalone derived instance for ‛B BOOL’: + When typechecking the code for ‘mkExpr’ + in a standalone derived instance for ‘B BOOL’: To see the code I am typechecking, use -ddump-deriv - In the instance declaration for ‛B BOOL’ + In the instance declaration for ‘B BOOL’ diff --git a/testsuite/tests/deriving/should_fail/T5287.stderr b/testsuite/tests/deriving/should_fail/T5287.stderr index 2ad7ea0953..764c422dd1 100644 --- a/testsuite/tests/deriving/should_fail/T5287.stderr +++ b/testsuite/tests/deriving/should_fail/T5287.stderr @@ -5,7 +5,7 @@ T5287.hs:6:10: from the context (A a oops) bound by an instance declaration: A a oops => Read (D a) at T5287.hs:6:10-31 - The type variable ‛oops0’ is ambiguous + The type variable ‘oops0’ is ambiguous In the ambiguity check for: forall a oops. A a oops => Read (D a) To defer the ambiguity check to use sites, enable AllowAmbiguousTypes - In the instance declaration for ‛Read (D a)’ + In the instance declaration for ‘Read (D a)’ diff --git a/testsuite/tests/deriving/should_fail/T5478.stderr b/testsuite/tests/deriving/should_fail/T5478.stderr index e3c968f62f..6c194a3793 100644 --- a/testsuite/tests/deriving/should_fail/T5478.stderr +++ b/testsuite/tests/deriving/should_fail/T5478.stderr @@ -1,5 +1,5 @@ T5478.hs:6:38: - Can't make a derived instance of ‛Show Foo’: - Don't know how to derive ‛Show’ for type ‛ByteArray#’ - In the data declaration for ‛Foo’ + Can't make a derived instance of ‘Show Foo’: + Don't know how to derive ‘Show’ for type ‘ByteArray#’ + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/deriving/should_fail/T5498.stderr b/testsuite/tests/deriving/should_fail/T5498.stderr index 8adde63a98..b613eae368 100644 --- a/testsuite/tests/deriving/should_fail/T5498.stderr +++ b/testsuite/tests/deriving/should_fail/T5498.stderr @@ -1,10 +1,10 @@ T5498.hs:30:39: - Could not coerce from ‛c a’ to ‛c (Down a)’ - because ‛c a’ and ‛c (Down a)’ are different types. - arising from the coercion of the method ‛intIso’ from type - ‛forall (c :: * -> *). c a -> c Int’ to type - ‛forall (c :: * -> *). c (Down a) -> c Int’ + Could not coerce from ‘c a’ to ‘c (Down a)’ + because ‘c a’ and ‘c (Down a)’ are different types. + arising from the coercion of the method ‘intIso’ from type + ‘forall (c :: * -> *). c a -> c Int’ to type + ‘forall (c :: * -> *). c (Down a) -> c Int’ Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/deriving/should_fail/T5686.stderr b/testsuite/tests/deriving/should_fail/T5686.stderr index 0bffdf5697..74f8dd88c7 100644 --- a/testsuite/tests/deriving/should_fail/T5686.stderr +++ b/testsuite/tests/deriving/should_fail/T5686.stderr @@ -1,5 +1,5 @@ T5686.hs:4:29: - Can't make a derived instance of ‛Functor U’: - Constructor ‛U’ must use the type variable only as the last argument of a data type - In the data declaration for ‛U’ + Can't make a derived instance of ‘Functor U’: + Constructor ‘U’ must use the type variable only as the last argument of a data type + In the data declaration for ‘U’ diff --git a/testsuite/tests/deriving/should_fail/T5863a.stderr b/testsuite/tests/deriving/should_fail/T5863a.stderr index 434ed42eb8..1bd2c77ac7 100644 --- a/testsuite/tests/deriving/should_fail/T5863a.stderr +++ b/testsuite/tests/deriving/should_fail/T5863a.stderr @@ -2,9 +2,9 @@ T5863a.hs:9:31: Cannot eta-reduce to an instance of form instance (...) => Typeable T - In the data instance declaration for ‛T’ + In the data instance declaration for ‘T’ T5863a.hs:12:32: Cannot eta-reduce to an instance of form instance (...) => Typeable T - In the data instance declaration for ‛T’ + In the data instance declaration for ‘T’ diff --git a/testsuite/tests/deriving/should_fail/T5922.stderr b/testsuite/tests/deriving/should_fail/T5922.stderr index 1b58511d95..c879b7ecfa 100644 --- a/testsuite/tests/deriving/should_fail/T5922.stderr +++ b/testsuite/tests/deriving/should_fail/T5922.stderr @@ -1,4 +1,4 @@ T5922.hs:3:42: - Illegal deriving item ‛show’ - In the data declaration for ‛Proposition’ + Illegal deriving item ‘show’ + In the data declaration for ‘Proposition’ diff --git a/testsuite/tests/deriving/should_fail/T6147.stderr b/testsuite/tests/deriving/should_fail/T6147.stderr index ffe584c1de..a346ac3216 100644 --- a/testsuite/tests/deriving/should_fail/T6147.stderr +++ b/testsuite/tests/deriving/should_fail/T6147.stderr @@ -1,10 +1,10 @@ T6147.hs:13:32: - Could not coerce from ‛T Int’ to ‛T Foo’ - because the first type argument of ‛T’ has role Nominal, - but the arguments ‛Int’ and ‛Foo’ differ - arising from the coercion of the method ‛foo’ from type - ‛Int -> T Int’ to type ‛Foo -> T Foo’ + Could not coerce from ‘T Int’ to ‘T Foo’ + because the first type argument of ‘T’ has role Nominal, + but the arguments ‘Int’ and ‘Foo’ differ + arising from the coercion of the method ‘foo’ from type + ‘Int -> T Int’ to type ‘Foo -> T Foo’ Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/deriving/should_fail/T7148.stderr b/testsuite/tests/deriving/should_fail/T7148.stderr index 21e350c3fc..9b1008a360 100644 --- a/testsuite/tests/deriving/should_fail/T7148.stderr +++ b/testsuite/tests/deriving/should_fail/T7148.stderr @@ -1,23 +1,23 @@ T7148.hs:27:40: - Could not coerce from ‛SameType b1 b’ to ‛SameType b1 (Tagged a b)’ - because the second type argument of ‛SameType’ has role Nominal, - but the arguments ‛b’ and ‛Tagged a b’ differ - arising from the coercion of the method ‛iso2’ from type - ‛forall b. SameType b () -> SameType b b’ to type - ‛forall b. SameType b () -> SameType b (Tagged a b)’ + Could not coerce from ‘SameType b1 b’ to ‘SameType b1 (Tagged a b)’ + because the second type argument of ‘SameType’ has role Nominal, + but the arguments ‘b’ and ‘Tagged a b’ differ + arising from the coercion of the method ‘iso2’ from type + ‘forall b. SameType b () -> SameType b b’ to type + ‘forall b. SameType b () -> SameType b (Tagged a b)’ Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself When deriving the instance for (IsoUnit (Tagged a b)) T7148.hs:27:40: - Could not coerce from ‛SameType b b1’ to ‛SameType (Tagged a b) b1’ - because the first type argument of ‛SameType’ has role Nominal, - but the arguments ‛b’ and ‛Tagged a b’ differ - arising from the coercion of the method ‛iso1’ from type - ‛forall b. SameType () b -> SameType b b’ to type - ‛forall b. SameType () b -> SameType (Tagged a b) b’ + Could not coerce from ‘SameType b b1’ to ‘SameType (Tagged a b) b1’ + because the first type argument of ‘SameType’ has role Nominal, + but the arguments ‘b’ and ‘Tagged a b’ differ + arising from the coercion of the method ‘iso1’ from type + ‘forall b. SameType () b -> SameType b b’ to type + ‘forall b. SameType () b -> SameType (Tagged a b) b’ Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/deriving/should_fail/T7148a.stderr b/testsuite/tests/deriving/should_fail/T7148a.stderr index 1984eb9c6c..5f865d1f5c 100644 --- a/testsuite/tests/deriving/should_fail/T7148a.stderr +++ b/testsuite/tests/deriving/should_fail/T7148a.stderr @@ -1,10 +1,10 @@ T7148a.hs:19:50: - Could not coerce from ‛Result a b’ to ‛b’ - because ‛Result a b’ and ‛b’ are different types. - arising from the coercion of the method ‛coerce’ from type - ‛forall b. Proxy b -> a -> Result a b’ to type - ‛forall b. Proxy b -> IS_NO_LONGER a -> Result (IS_NO_LONGER a) b’ + Could not coerce from ‘Result a b’ to ‘b’ + because ‘Result a b’ and ‘b’ are different types. + arising from the coercion of the method ‘coerce’ from type + ‘forall b. Proxy b -> a -> Result a b’ to type + ‘forall b. Proxy b -> IS_NO_LONGER a -> Result (IS_NO_LONGER a) b’ Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/deriving/should_fail/T7800.stderr b/testsuite/tests/deriving/should_fail/T7800.stderr index 10c790a6da..8cd8533968 100644 --- a/testsuite/tests/deriving/should_fail/T7800.stderr +++ b/testsuite/tests/deriving/should_fail/T7800.stderr @@ -2,5 +2,5 @@ [2 of 2] Compiling T7800 ( T7800.hs, T7800.o ) T7800.hs:7:1: - To make a Typeable instance of poly-kinded ‛A’, use XPolyKinds - In the stand-alone deriving instance for ‛Typeable A’ + To make a Typeable instance of poly-kinded ‘A’, use XPolyKinds + In the stand-alone deriving instance for ‘Typeable A’ diff --git a/testsuite/tests/deriving/should_fail/T7959.stderr b/testsuite/tests/deriving/should_fail/T7959.stderr index 0e805a6b55..dde9ee0034 100644 --- a/testsuite/tests/deriving/should_fail/T7959.stderr +++ b/testsuite/tests/deriving/should_fail/T7959.stderr @@ -1,8 +1,8 @@ T7959.hs:5:1: Cannot derive instances for nullary classes - In the stand-alone deriving instance for ‛A’ + In the stand-alone deriving instance for ‘A’ T7959.hs:6:17: Cannot derive instances for nullary classes - In the data declaration for ‛B’ + In the data declaration for ‘B’ diff --git a/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr b/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr index e4c07b5220..aa115cd10e 100644 --- a/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail-foldable-traversable1.stderr @@ -16,11 +16,11 @@ drvfail-foldable-traversable1.hs:13:22: When deriving the instance for (Traversable Trivial2) drvfail-foldable-traversable1.hs:17:22: - Can't make a derived instance of ‛Foldable Infinite’: - Constructor ‛Infinite’ must not contain function types - In the data declaration for ‛Infinite’ + Can't make a derived instance of ‘Foldable Infinite’: + Constructor ‘Infinite’ must not contain function types + In the data declaration for ‘Infinite’ drvfail-foldable-traversable1.hs:21:22: - Can't make a derived instance of ‛Traversable (Cont r)’: - Constructor ‛Cont’ must not contain function types - In the data declaration for ‛Cont’ + Can't make a derived instance of ‘Traversable (Cont r)’: + Constructor ‘Cont’ must not contain function types + In the data declaration for ‘Cont’ diff --git a/testsuite/tests/deriving/should_fail/drvfail-functor1.stderr b/testsuite/tests/deriving/should_fail/drvfail-functor1.stderr index 3b5b00c2b8..bff4d27a49 100644 --- a/testsuite/tests/deriving/should_fail/drvfail-functor1.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail-functor1.stderr @@ -1,5 +1,5 @@ drvfail-functor1.hs:6:14: - Can't make a derived instance of ‛Functor List’: + Can't make a derived instance of ‘Functor List’: You need DeriveFunctor to derive an instance for this class - In the data declaration for ‛List’ + In the data declaration for ‘List’ diff --git a/testsuite/tests/deriving/should_fail/drvfail-functor2.stderr b/testsuite/tests/deriving/should_fail/drvfail-functor2.stderr index 322125cf4a..ab7812a3f7 100644 --- a/testsuite/tests/deriving/should_fail/drvfail-functor2.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail-functor2.stderr @@ -3,28 +3,28 @@ drvfail-functor2.hs:1:29: Warning: -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. drvfail-functor2.hs:7:14: - Can't make a derived instance of ‛Functor InFunctionArgument’: - Constructor ‛InFunctionArgument’ must not use the type variable in a function argument - In the newtype declaration for ‛InFunctionArgument’ + Can't make a derived instance of ‘Functor InFunctionArgument’: + Constructor ‘InFunctionArgument’ must not use the type variable in a function argument + In the newtype declaration for ‘InFunctionArgument’ drvfail-functor2.hs:10:14: - Can't make a derived instance of ‛Functor OnSecondArg’: - Constructor ‛OnSecondArg’ must use the type variable only as the last argument of a data type - In the newtype declaration for ‛OnSecondArg’ + Can't make a derived instance of ‘Functor OnSecondArg’: + Constructor ‘OnSecondArg’ must use the type variable only as the last argument of a data type + In the newtype declaration for ‘OnSecondArg’ drvfail-functor2.hs:15:14: - Cannot derive well-kinded instance of form ‛Functor (NoArguments ...)’ - Class ‛Functor’ expects an argument of kind ‛* -> *’ - In the newtype declaration for ‛NoArguments’ + Cannot derive well-kinded instance of form ‘Functor (NoArguments ...)’ + Class ‘Functor’ expects an argument of kind ‘* -> *’ + In the newtype declaration for ‘NoArguments’ drvfail-functor2.hs:20:14: - Can't make a derived instance of ‛Functor StupidConstraint’: - Data type ‛StupidConstraint’ must not have a class context (Eq a) - In the data declaration for ‛StupidConstraint’ + Can't make a derived instance of ‘Functor StupidConstraint’: + Data type ‘StupidConstraint’ must not have a class context (Eq a) + In the data declaration for ‘StupidConstraint’ drvfail-functor2.hs:26:14: No instance for (Functor NoFunctor) - arising from the first field of ‛UseNoFunctor’ (type ‛NoFunctor a’) + arising from the first field of ‘UseNoFunctor’ (type ‘NoFunctor a’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/deriving/should_fail/drvfail001.stderr b/testsuite/tests/deriving/should_fail/drvfail001.stderr index 3f3d4ec63c..7f89e8c52b 100644 --- a/testsuite/tests/deriving/should_fail/drvfail001.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail001.stderr @@ -1,7 +1,7 @@ drvfail001.hs:16:33: No instance for (Show (f (f a))) - arising from the first field of ‛ZeroS’ (type ‛f (f a)’) + arising from the first field of ‘ZeroS’ (type ‘f (f a)’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/deriving/should_fail/drvfail002.stderr b/testsuite/tests/deriving/should_fail/drvfail002.stderr index 8064cb6f40..9d8e422601 100644 --- a/testsuite/tests/deriving/should_fail/drvfail002.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail002.stderr @@ -1,7 +1,7 @@ drvfail002.hs:19:23: No instance for (X T c) - arising from the first field of ‛S’ (type ‛T’) + arising from the first field of ‘S’ (type ‘T’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/deriving/should_fail/drvfail003.stderr b/testsuite/tests/deriving/should_fail/drvfail003.stderr index a2493f3f1e..6e06abf3b5 100644 --- a/testsuite/tests/deriving/should_fail/drvfail003.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail003.stderr @@ -1,7 +1,7 @@ drvfail003.hs:16:56: No instance for (Show (v (v a))) - arising from the first field of ‛End’ (type ‛v (v a)’) + arising from the first field of ‘End’ (type ‘v (v a)’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/deriving/should_fail/drvfail005.stderr b/testsuite/tests/deriving/should_fail/drvfail005.stderr index c77f904dc2..b5a2de8d01 100644 --- a/testsuite/tests/deriving/should_fail/drvfail005.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail005.stderr @@ -1,5 +1,5 @@ drvfail005.hs:4:13: - Can't make a derived instance of ‛Show a (Test a)’: - ‛Show a’ is not a class - In the data declaration for ‛Test’ + Can't make a derived instance of ‘Show a (Test a)’: + ‘Show a’ is not a class + In the data declaration for ‘Test’ diff --git a/testsuite/tests/deriving/should_fail/drvfail007.stderr b/testsuite/tests/deriving/should_fail/drvfail007.stderr index c9d998e043..183a5ff8d5 100644 --- a/testsuite/tests/deriving/should_fail/drvfail007.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail007.stderr @@ -1,7 +1,7 @@ drvfail007.hs:4:38: No instance for (Eq (Int -> Int)) - arising from the first field of ‛Foo’ (type ‛Int -> Int’) + arising from the first field of ‘Foo’ (type ‘Int -> Int’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/deriving/should_fail/drvfail009.stderr b/testsuite/tests/deriving/should_fail/drvfail009.stderr index d9592c4669..fcc5b4c305 100644 --- a/testsuite/tests/deriving/should_fail/drvfail009.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail009.stderr @@ -1,23 +1,23 @@ drvfail009.hs:10:31: - Can't make a derived instance of ‛C T1’ + Can't make a derived instance of ‘C T1’ (even with cunning newtype deriving): - ‛C’ does not have arity 1 - In the newtype declaration for ‛T1’ + ‘C’ does not have arity 1 + In the newtype declaration for ‘T1’ drvfail009.hs:13:31: - Cannot derive well-kinded instance of form ‛Monad (T2 ...)’ - Class ‛Monad’ expects an argument of kind ‛* -> *’ - In the newtype declaration for ‛T2’ + Cannot derive well-kinded instance of form ‘Monad (T2 ...)’ + Class ‘Monad’ expects an argument of kind ‘* -> *’ + In the newtype declaration for ‘T2’ drvfail009.hs:16:33: - Can't make a derived instance of ‛Monad T3’ + Can't make a derived instance of ‘Monad T3’ (even with cunning newtype deriving): cannot eta-reduce the representation type enough - In the newtype declaration for ‛T3’ + In the newtype declaration for ‘T3’ drvfail009.hs:19:42: - Can't make a derived instance of ‛Monad T4’ + Can't make a derived instance of ‘Monad T4’ (even with cunning newtype deriving): cannot eta-reduce the representation type enough - In the newtype declaration for ‛T4’ + In the newtype declaration for ‘T4’ diff --git a/testsuite/tests/deriving/should_fail/drvfail011.stderr b/testsuite/tests/deriving/should_fail/drvfail011.stderr index f4b27e9d21..99e62fc48e 100644 --- a/testsuite/tests/deriving/should_fail/drvfail011.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail011.stderr @@ -1,10 +1,10 @@ drvfail011.hs:8:1: - No instance for (Eq a) arising from a use of ‛==’ + No instance for (Eq a) arising from a use of ‘==’ Possible fix: add (Eq a) to the context of the instance declaration In the expression: ((a1 == b1)) - In an equation for ‛==’: (==) (T1 a1) (T1 b1) = ((a1 == b1)) - When typechecking the code for ‛==’ - in a standalone derived instance for ‛Eq (T a)’: + In an equation for ‘==’: (==) (T1 a1) (T1 b1) = ((a1 == b1)) + When typechecking the code for ‘==’ + in a standalone derived instance for ‘Eq (T a)’: To see the code I am typechecking, use -ddump-deriv - In the instance declaration for ‛Eq (T a)’ + In the instance declaration for ‘Eq (T a)’ diff --git a/testsuite/tests/deriving/should_fail/drvfail013.stderr b/testsuite/tests/deriving/should_fail/drvfail013.stderr index 4b2350f2a0..abbe95892d 100644 --- a/testsuite/tests/deriving/should_fail/drvfail013.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail013.stderr @@ -9,7 +9,7 @@ drvfail013.hs:4:70: drvfail013.hs:6:70: No instance for (Eq (m (Maybe a))) - arising from the first field of ‛MaybeT'’ (type ‛m (Maybe a)’) + arising from the first field of ‘MaybeT'’ (type ‘m (Maybe a)’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/deriving/should_fail/drvfail014.stderr b/testsuite/tests/deriving/should_fail/drvfail014.stderr index d228e0d660..56a63ff3fb 100644 --- a/testsuite/tests/deriving/should_fail/drvfail014.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail014.stderr @@ -1,9 +1,9 @@ drvfail014.hs:8:28: Use deriving( Typeable ) on a data type declaration - In the data declaration for ‛T1’ + In the data declaration for ‘T1’ drvfail014.hs:12:1: Derived Typeable instance must be of form (Typeable2 T2) In the stand-alone deriving instance for - ‛(Typeable a, Typeable b) => Typeable (T2 a b)’ + ‘(Typeable a, Typeable b) => Typeable (T2 a b)’ diff --git a/testsuite/tests/deriving/should_fail/drvfail015.stderr b/testsuite/tests/deriving/should_fail/drvfail015.stderr index e47ca459d5..c38ff00456 100644 --- a/testsuite/tests/deriving/should_fail/drvfail015.stderr +++ b/testsuite/tests/deriving/should_fail/drvfail015.stderr @@ -1,13 +1,13 @@ drvfail015.hs:10:19: - Illegal instance declaration for ‛Eq T’ + Illegal instance declaration for ‘Eq T’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) - In the stand-alone deriving instance for ‛Eq T’ + In the stand-alone deriving instance for ‘Eq T’ drvfail015.hs:13:1: - Can't make a derived instance of ‛Eq Handle’: - The data constructors of ‛Handle’ are not all in scope + Can't make a derived instance of ‘Eq Handle’: + The data constructors of ‘Handle’ are not all in scope so you cannot derive an instance for it - In the stand-alone deriving instance for ‛Eq Handle’ + In the stand-alone deriving instance for ‘Eq Handle’ diff --git a/testsuite/tests/driver/T1372/T1372.stderr b/testsuite/tests/driver/T1372/T1372.stderr index e332c563a3..d3798fef5e 100644 --- a/testsuite/tests/driver/T1372/T1372.stderr +++ b/testsuite/tests/driver/T1372/T1372.stderr @@ -1,2 +1,2 @@ -Main.hs:5:5: Not in scope: data constructor ‛T’ +Main.hs:5:5: Not in scope: data constructor ‘T’ diff --git a/testsuite/tests/driver/T5147/T5147.stderr b/testsuite/tests/driver/T5147/T5147.stderr index 43f0f935d3..9e59ee28b0 100644 --- a/testsuite/tests/driver/T5147/T5147.stderr +++ b/testsuite/tests/driver/T5147/T5147.stderr @@ -1,5 +1,5 @@ A.hs:6:15: - No instance for (Show (Fields v)) arising from a use of ‛show’ + No instance for (Show (Fields v)) arising from a use of ‘show’ In the expression: show a - In an equation for ‛showField’: showField a = show a + In an equation for ‘showField’: showField a = show a diff --git a/testsuite/tests/driver/bug1677/bug1677.stderr b/testsuite/tests/driver/bug1677/bug1677.stderr index 9ee41b5cac..dd0d4ff941 100644 --- a/testsuite/tests/driver/bug1677/bug1677.stderr +++ b/testsuite/tests/driver/bug1677/bug1677.stderr @@ -1,5 +1,5 @@ Foo.hs:1:1: File name does not match module name: - Saw: ‛Main’ - Expected: ‛Foo’ + Saw: ‘Main’ + Expected: ‘Foo’ diff --git a/testsuite/tests/driver/driver063.stderr b/testsuite/tests/driver/driver063.stderr index a50340dc42..25488b80e9 100644 --- a/testsuite/tests/driver/driver063.stderr +++ b/testsuite/tests/driver/driver063.stderr @@ -1,4 +1,4 @@ D063.hs:2:8: - Could not find module ‛A063’ + Could not find module ‘A063’ It is not a module in the current program, or in any known package. diff --git a/testsuite/tests/driver/recomp001/recomp001.stderr b/testsuite/tests/driver/recomp001/recomp001.stderr index bd75be7bde..724326e081 100644 --- a/testsuite/tests/driver/recomp001/recomp001.stderr +++ b/testsuite/tests/driver/recomp001/recomp001.stderr @@ -1,2 +1,2 @@ -C.hs:3:11: Module ‛B’ does not export ‛foo’ +C.hs:3:11: Module ‘B’ does not export ‘foo’ diff --git a/testsuite/tests/driver/recomp005/recomp005.stderr b/testsuite/tests/driver/recomp005/recomp005.stderr index 130e56249c..a34c8a78e1 100644 --- a/testsuite/tests/driver/recomp005/recomp005.stderr +++ b/testsuite/tests/driver/recomp005/recomp005.stderr @@ -1,4 +1,4 @@ C.hs:7:11: Warning: - Rule "f/g" may never fire because ‛f’ might inline first - Probable fix: add an INLINE[n] or NOINLINE[n] pragma on ‛f’ + Rule "f/g" may never fire because ‘f’ might inline first + Probable fix: add an INLINE[n] or NOINLINE[n] pragma on ‘f’ diff --git a/testsuite/tests/driver/recomp006/recomp006.stderr b/testsuite/tests/driver/recomp006/recomp006.stderr index 912273daba..7119ff540b 100644 --- a/testsuite/tests/driver/recomp006/recomp006.stderr +++ b/testsuite/tests/driver/recomp006/recomp006.stderr @@ -1,6 +1,6 @@ A.hs:8:8: - Couldn't match expected type ‛Int’ with actual type ‛(t0, t1)’ + Couldn't match expected type ‘Int’ with actual type ‘(t0, t1)’ In the expression: (2, 3) In the expression: (1, (2, 3)) - In an equation for ‛f’: f = (1, (2, 3)) + In an equation for ‘f’: f = (1, (2, 3)) diff --git a/testsuite/tests/driver/werror.stderr b/testsuite/tests/driver/werror.stderr index 45c00e93ef..b723c39364 100644 --- a/testsuite/tests/driver/werror.stderr +++ b/testsuite/tests/driver/werror.stderr @@ -3,14 +3,14 @@ werror.hs:6:1: Warning: Top-level binding with no type signature: main :: IO () werror.hs:7:13: Warning: - This binding for ‛main’ shadows the existing binding + This binding for ‘main’ shadows the existing binding defined at werror.hs:6:1 -werror.hs:7:13: Warning: Defined but not used: ‛main’ +werror.hs:7:13: Warning: Defined but not used: ‘main’ werror.hs:8:1: Warning: Tab character -werror.hs:10:1: Warning: Defined but not used: ‛f’ +werror.hs:10:1: Warning: Defined but not used: ‘f’ werror.hs:10:1: Warning: Top-level binding with no type signature: @@ -18,11 +18,11 @@ werror.hs:10:1: Warning: werror.hs:10:1: Warning: Pattern match(es) are overlapped - In an equation for ‛f’: f [] = ... + In an equation for ‘f’: f [] = ... werror.hs:10:1: Warning: Pattern match(es) are non-exhaustive - In an equation for ‛f’: Patterns not matched: _ : _ + In an equation for ‘f’: Patterns not matched: _ : _ <no location info>: Failing due to -Werror. diff --git a/testsuite/tests/gadt/CasePrune.stderr b/testsuite/tests/gadt/CasePrune.stderr index 64b71572d5..db22c46a7d 100644 --- a/testsuite/tests/gadt/CasePrune.stderr +++ b/testsuite/tests/gadt/CasePrune.stderr @@ -1,10 +1,10 @@ CasePrune.hs:14:31: - Could not coerce from ‛T Int’ to ‛T A’ - because the first type argument of ‛T’ has role Nominal, - but the arguments ‛Int’ and ‛A’ differ - arising from the coercion of the method ‛ic’ from type ‛T Int’ - to type ‛T A’ + Could not coerce from ‘T Int’ to ‘T A’ + because the first type argument of ‘T’ has role Nominal, + but the arguments ‘Int’ and ‘A’ differ + arising from the coercion of the method ‘ic’ from type ‘T Int’ + to type ‘T A’ Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/gadt/T3163.stderr b/testsuite/tests/gadt/T3163.stderr index ce64010857..5daca38050 100644 --- a/testsuite/tests/gadt/T3163.stderr +++ b/testsuite/tests/gadt/T3163.stderr @@ -1,5 +1,5 @@ T3163.hs:8:5: Illegal polymorphic or qualified type: forall s. s - In the definition of data constructor ‛Unreached’ - In the data declaration for ‛Taker’ + In the definition of data constructor ‘Unreached’ + In the data declaration for ‘Taker’ diff --git a/testsuite/tests/gadt/T3169.stderr b/testsuite/tests/gadt/T3169.stderr index d5c658f71a..09276728e2 100644 --- a/testsuite/tests/gadt/T3169.stderr +++ b/testsuite/tests/gadt/T3169.stderr @@ -3,7 +3,7 @@ T3169.hs:13:22: Could not deduce (elt ~ Map b elt) from the context (Key a, Key b) bound by the instance declaration at T3169.hs:10:10-36 - ‛elt’ is a rigid type variable bound by + ‘elt’ is a rigid type variable bound by the type signature for lookup :: (a, b) -> Map (a, b) elt -> Maybe elt at T3169.hs:12:3 @@ -14,5 +14,5 @@ T3169.hs:13:22: b :: b (bound at T3169.hs:12:13) lookup :: (a, b) -> Map (a, b) elt -> Maybe elt (bound at T3169.hs:12:3) - In the second argument of ‛lookup’, namely ‛m’ + In the second argument of ‘lookup’, namely ‘m’ In the expression: lookup a m :: Maybe (Map b elt) diff --git a/testsuite/tests/gadt/T3651.stderr b/testsuite/tests/gadt/T3651.stderr index 5d5a4923b5..e9230a4538 100644 --- a/testsuite/tests/gadt/T3651.stderr +++ b/testsuite/tests/gadt/T3651.stderr @@ -1,21 +1,21 @@ T3651.hs:11:11:
- Couldn't match type ‛Bool’ with ‛()’
+ Couldn't match type ‘Bool’ with ‘()’
Inaccessible code in
- a pattern with constructor U :: Z (), in an equation for ‛unsafe1’
+ a pattern with constructor U :: Z (), in an equation for ‘unsafe1’
In the pattern: U
- In an equation for ‛unsafe1’: unsafe1 B U = ()
+ In an equation for ‘unsafe1’: unsafe1 B U = ()
T3651.hs:14:11:
- Couldn't match type ‛Bool’ with ‛()’
+ Couldn't match type ‘Bool’ with ‘()’
Inaccessible code in
- a pattern with constructor U :: Z (), in an equation for ‛unsafe2’
+ a pattern with constructor U :: Z (), in an equation for ‘unsafe2’
In the pattern: U
- In an equation for ‛unsafe2’: unsafe2 B U = ()
+ In an equation for ‘unsafe2’: unsafe2 B U = ()
T3651.hs:17:11:
- Couldn't match type ‛Bool’ with ‛()’
+ Couldn't match type ‘Bool’ with ‘()’
Inaccessible code in
- a pattern with constructor U :: Z (), in an equation for ‛unsafe3’
+ a pattern with constructor U :: Z (), in an equation for ‘unsafe3’
In the pattern: U
- In an equation for ‛unsafe3’: unsafe3 B U = True
+ In an equation for ‘unsafe3’: unsafe3 B U = True
diff --git a/testsuite/tests/gadt/T7293.stderr b/testsuite/tests/gadt/T7293.stderr index 98a4fe402a..d9719ba65b 100644 --- a/testsuite/tests/gadt/T7293.stderr +++ b/testsuite/tests/gadt/T7293.stderr @@ -1,9 +1,9 @@ T7293.hs:24:5: - Couldn't match type ‛'False’ with ‛'True’ + Couldn't match type ‘'False’ with ‘'True’ Inaccessible code in a pattern with constructor Nil :: forall a. Vec a 'Zero, - in an equation for ‛nth’ + in an equation for ‘nth’ In the pattern: Nil - In an equation for ‛nth’: nth Nil _ = undefined + In an equation for ‘nth’: nth Nil _ = undefined diff --git a/testsuite/tests/gadt/T7294.stderr b/testsuite/tests/gadt/T7294.stderr index bfb64966fc..f5ad94601b 100644 --- a/testsuite/tests/gadt/T7294.stderr +++ b/testsuite/tests/gadt/T7294.stderr @@ -1,9 +1,9 @@ T7294.hs:25:5: Warning: - Couldn't match type ‛'False’ with ‛'True’ + Couldn't match type ‘'False’ with ‘'True’ Inaccessible code in a pattern with constructor Nil :: forall a. Vec a 'Zero, - in an equation for ‛nth’ + in an equation for ‘nth’ In the pattern: Nil - In an equation for ‛nth’: nth Nil _ = undefined + In an equation for ‘nth’: nth Nil _ = undefined diff --git a/testsuite/tests/gadt/T7558.stderr b/testsuite/tests/gadt/T7558.stderr index cf5d73dce8..f65c74395b 100644 --- a/testsuite/tests/gadt/T7558.stderr +++ b/testsuite/tests/gadt/T7558.stderr @@ -1,13 +1,13 @@ T7558.hs:8:4: - Couldn't match type ‛a’ with ‛Maybe a’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘Maybe a’ + ‘a’ is a rigid type variable bound by the type signature for f :: T a a -> Bool at T7558.hs:7:6 Inaccessible code in a pattern with constructor MkT :: forall a b. a ~ Maybe b => a -> Maybe b -> T a b, - in an equation for ‛f’ + in an equation for ‘f’ Relevant bindings include f :: T a a -> Bool (bound at T7558.hs:8:1) In the pattern: MkT x y - In an equation for ‛f’: f (MkT x y) = [x, y] `seq` True + In an equation for ‘f’: f (MkT x y) = [x, y] `seq` True diff --git a/testsuite/tests/gadt/gadt-escape1.stderr b/testsuite/tests/gadt/gadt-escape1.stderr index f701402e30..1ec5ea8515 100644 --- a/testsuite/tests/gadt/gadt-escape1.stderr +++ b/testsuite/tests/gadt/gadt-escape1.stderr @@ -1,13 +1,13 @@ gadt-escape1.hs:19:58: - Couldn't match type ‛t’ with ‛ExpGADT Int’ - ‛t’ is untouchable + Couldn't match type ‘t’ with ‘ExpGADT Int’ + ‘t’ is untouchable inside the constraints (t1 ~ Int) bound by a pattern with constructor ExpInt :: Int -> ExpGADT Int, in a case alternative at gadt-escape1.hs:19:43-50 - ‛t’ is a rigid type variable bound by + ‘t’ is a rigid type variable bound by the inferred type of weird1 :: t at gadt-escape1.hs:19:1 Expected type: t Actual type: ExpGADT t1 diff --git a/testsuite/tests/gadt/gadt10.stderr b/testsuite/tests/gadt/gadt10.stderr index fa485aade5..cc5230e2f2 100644 --- a/testsuite/tests/gadt/gadt10.stderr +++ b/testsuite/tests/gadt/gadt10.stderr @@ -1,7 +1,7 @@ gadt10.hs:6:24: - Expecting one more argument to ‛RInt’ - Expected kind ‛*’, but ‛RInt’ has kind ‛k0 -> *’ - In the type ‛RInt’ - In the definition of data constructor ‛R’ - In the data declaration for ‛RInt’ + Expecting one more argument to ‘RInt’ + Expected kind ‘*’, but ‘RInt’ has kind ‘k0 -> *’ + In the type ‘RInt’ + In the definition of data constructor ‘R’ + In the data declaration for ‘RInt’ diff --git a/testsuite/tests/gadt/gadt11.stderr b/testsuite/tests/gadt/gadt11.stderr index b753bd961c..016fd2bd75 100644 --- a/testsuite/tests/gadt/gadt11.stderr +++ b/testsuite/tests/gadt/gadt11.stderr @@ -1,6 +1,6 @@ gadt11.hs:12:3: - Data constructor ‛L2’ returns type ‛T1 Bool’ - instead of an instance of its parent type ‛T2 a’ - In the definition of data constructor ‛L2’ - In the data declaration for ‛T2’ + Data constructor ‘L2’ returns type ‘T1 Bool’ + instead of an instance of its parent type ‘T2 a’ + In the definition of data constructor ‘L2’ + In the data declaration for ‘T2’ diff --git a/testsuite/tests/gadt/gadt13.stderr b/testsuite/tests/gadt/gadt13.stderr index 3b39f07b8f..5861424fa2 100644 --- a/testsuite/tests/gadt/gadt13.stderr +++ b/testsuite/tests/gadt/gadt13.stderr @@ -1,16 +1,16 @@ gadt13.hs:15:13: - Couldn't match expected type ‛t’ - with actual type ‛String -> [Char]’ - ‛t’ is untouchable + Couldn't match expected type ‘t’ + with actual type ‘String -> [Char]’ + ‘t’ is untouchable inside the constraints (t1 ~ Int) bound by a pattern with constructor I :: Int -> Term Int, - in an equation for ‛shw’ + in an equation for ‘shw’ at gadt13.hs:15:6-8 - ‛t’ is a rigid type variable bound by + ‘t’ is a rigid type variable bound by the inferred type of shw :: Term t1 -> t at gadt13.hs:15:1 Relevant bindings include shw :: Term t1 -> t (bound at gadt13.hs:15:1) In the expression: ("I " ++) . shows t - In an equation for ‛shw’: shw (I t) = ("I " ++) . shows t + In an equation for ‘shw’: shw (I t) = ("I " ++) . shows t diff --git a/testsuite/tests/gadt/gadt21.stderr b/testsuite/tests/gadt/gadt21.stderr index 0293eaafb8..5c234daf99 100644 --- a/testsuite/tests/gadt/gadt21.stderr +++ b/testsuite/tests/gadt/gadt21.stderr @@ -1,19 +1,19 @@ gadt21.hs:21:60: - Could not deduce (Ord a1) arising from a use of ‛f’ + Could not deduce (Ord a1) arising from a use of ‘f’ from the context (a ~ Set a1) bound by a pattern with constructor TypeSet :: forall a. Type a -> Type (Set a), - in an equation for ‛withOrdDynExpr’ + in an equation for ‘withOrdDynExpr’ at gadt21.hs:21:35-43 Possible fix: add (Ord a1) to the context of - the data constructor ‛TypeSet’ - or the data constructor ‛DynExpr’ + the data constructor ‘TypeSet’ + or the data constructor ‘DynExpr’ or the type signature for withOrdDynExpr :: DynExpr -> (forall a. Ord a => Expr a -> b) -> Maybe b - In the first argument of ‛Just’, namely ‛(f e)’ + In the first argument of ‘Just’, namely ‘(f e)’ In the expression: Just (f e) - In an equation for ‛withOrdDynExpr’: + In an equation for ‘withOrdDynExpr’: withOrdDynExpr (DynExpr e@(Const (TypeSet _) _)) f = Just (f e) diff --git a/testsuite/tests/gadt/gadt7.stderr b/testsuite/tests/gadt/gadt7.stderr index a14740580d..4ce8ad475c 100644 --- a/testsuite/tests/gadt/gadt7.stderr +++ b/testsuite/tests/gadt/gadt7.stderr @@ -1,15 +1,15 @@ gadt7.hs:16:38: - Couldn't match expected type ‛t’ with actual type ‛t1’ - ‛t1’ is untouchable + Couldn't match expected type ‘t’ with actual type ‘t1’ + ‘t1’ is untouchable inside the constraints (t2 ~ Int) bound by a pattern with constructor K :: T Int, in a case alternative at gadt7.hs:16:33 - ‛t1’ is a rigid type variable bound by + ‘t1’ is a rigid type variable bound by the inferred type of i1b :: T t2 -> t1 -> t at gadt7.hs:16:1 - ‛t’ is a rigid type variable bound by + ‘t’ is a rigid type variable bound by the inferred type of i1b :: T t2 -> t1 -> t at gadt7.hs:16:1 Relevant bindings include y1 :: t1 (bound at gadt7.hs:16:16) diff --git a/testsuite/tests/gadt/gadtSyntaxFail001.stderr b/testsuite/tests/gadt/gadtSyntaxFail001.stderr index 0413ddf320..54fa5f992b 100644 --- a/testsuite/tests/gadt/gadtSyntaxFail001.stderr +++ b/testsuite/tests/gadt/gadtSyntaxFail001.stderr @@ -1,7 +1,7 @@ gadtSyntaxFail001.hs:8:5: - Data constructor ‛C2’ has existential type variables, a context, or a specialised result type + Data constructor ‘C2’ has existential type variables, a context, or a specialised result type C2 :: forall a. a -> Char -> Foo a Int (Use ExistentialQuantification or GADTs to allow this) - In the definition of data constructor ‛C2’ - In the data declaration for ‛Foo’ + In the definition of data constructor ‘C2’ + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/gadt/gadtSyntaxFail002.stderr b/testsuite/tests/gadt/gadtSyntaxFail002.stderr index 337e39d7e8..194275b528 100644 --- a/testsuite/tests/gadt/gadtSyntaxFail002.stderr +++ b/testsuite/tests/gadt/gadtSyntaxFail002.stderr @@ -1,7 +1,7 @@ gadtSyntaxFail002.hs:8:5: - Data constructor ‛C2’ has existential type variables, a context, or a specialised result type + Data constructor ‘C2’ has existential type variables, a context, or a specialised result type C2 :: forall a. a -> Char -> Foo a a (Use ExistentialQuantification or GADTs to allow this) - In the definition of data constructor ‛C2’ - In the data declaration for ‛Foo’ + In the definition of data constructor ‘C2’ + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/gadt/gadtSyntaxFail003.stderr b/testsuite/tests/gadt/gadtSyntaxFail003.stderr index e948698d03..22f1f41ea9 100644 --- a/testsuite/tests/gadt/gadtSyntaxFail003.stderr +++ b/testsuite/tests/gadt/gadtSyntaxFail003.stderr @@ -1,7 +1,7 @@ gadtSyntaxFail003.hs:7:5: - Data constructor ‛C1’ has existential type variables, a context, or a specialised result type + Data constructor ‘C1’ has existential type variables, a context, or a specialised result type C1 :: forall b a c. a -> Int -> c -> Foo b a (Use ExistentialQuantification or GADTs to allow this) - In the definition of data constructor ‛C1’ - In the data declaration for ‛Foo’ + In the definition of data constructor ‘C1’ + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/gadt/lazypat.stderr b/testsuite/tests/gadt/lazypat.stderr index 460c600b35..e9abf58540 100644 --- a/testsuite/tests/gadt/lazypat.stderr +++ b/testsuite/tests/gadt/lazypat.stderr @@ -4,4 +4,4 @@ lazypat.hs:7:5: inside a lazy (~) pattern In the pattern: T x f In the pattern: ~(T x f) - In an equation for ‛f’: f ~(T x f) = f x + In an equation for ‘f’: f ~(T x f) = f x diff --git a/testsuite/tests/gadt/records-fail1.stderr b/testsuite/tests/gadt/records-fail1.stderr index 690649d46b..aca4d7fea8 100644 --- a/testsuite/tests/gadt/records-fail1.stderr +++ b/testsuite/tests/gadt/records-fail1.stderr @@ -1,5 +1,5 @@ records-fail1.hs:7:1: - Constructors T1 and T4 have a common field ‛x’, + Constructors T1 and T4 have a common field ‘x’, but have different result types - In the data declaration for ‛T’ + In the data declaration for ‘T’ diff --git a/testsuite/tests/gadt/rw.stderr b/testsuite/tests/gadt/rw.stderr index 9273dbd27a..82b1986e54 100644 --- a/testsuite/tests/gadt/rw.stderr +++ b/testsuite/tests/gadt/rw.stderr @@ -1,20 +1,20 @@ rw.hs:14:47: - Couldn't match expected type ‛a’ with actual type ‛Int’ - ‛a’ is a rigid type variable bound by + Couldn't match expected type ‘a’ with actual type ‘Int’ + ‘a’ is a rigid type variable bound by the type signature for writeInt :: T a -> IORef a -> IO () at rw.hs:12:12 Relevant bindings include ref :: IORef a (bound at rw.hs:13:12) v :: T a (bound at rw.hs:13:10) writeInt :: T a -> IORef a -> IO () (bound at rw.hs:13:1) - In the second argument of ‛writeIORef’, namely ‛(1 :: Int)’ + In the second argument of ‘writeIORef’, namely ‘(1 :: Int)’ In the expression: writeIORef ref (1 :: Int) In a case alternative: ~(Li x) -> writeIORef ref (1 :: Int) rw.hs:19:51: - Couldn't match type ‛a’ with ‛Bool’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘Bool’ + ‘a’ is a rigid type variable bound by the type signature for readBool :: T a -> IORef a -> IO () at rw.hs:16:12 Expected type: a -> Bool @@ -23,5 +23,5 @@ rw.hs:19:51: ref :: IORef a (bound at rw.hs:17:12) v :: T a (bound at rw.hs:17:10) readBool :: T a -> IORef a -> IO () (bound at rw.hs:17:1) - In the second argument of ‛(.)’, namely ‛not’ - In the second argument of ‛(>>=)’, namely ‛(print . not)’ + In the second argument of ‘(.)’, namely ‘not’ + In the second argument of ‘(>>=)’, namely ‘(print . not)’ 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’ diff --git a/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr b/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr index 66f83c8b64..54915f2953 100644 --- a/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr +++ b/testsuite/tests/ghc-api/apirecomp001/apirecomp001.stderr @@ -4,13 +4,13 @@ B.hs:4:1: Warning: answer_to_live_the_universe_and_everything :: Int B.hs:5:13: Warning: - Defaulting the following constraint(s) to type ‛Integer’ - (Num a0) arising from the literal ‛1’ at B.hs:5:13 + Defaulting the following constraint(s) to type ‘Integer’ + (Num a0) arising from the literal ‘1’ at B.hs:5:13 (Enum a0) - arising from the arithmetic sequence ‛1 .. 23 * 2’ at B.hs:5:12-20 + arising from the arithmetic sequence ‘1 .. 23 * 2’ at B.hs:5:12-20 In the expression: 1 - In the first argument of ‛length’, namely ‛[1 .. 23 * 2]’ - In the first argument of ‛(-)’, namely ‛length [1 .. 23 * 2]’ + In the first argument of ‘length’, namely ‘[1 .. 23 * 2]’ + In the first argument of ‘(-)’, namely ‘length [1 .. 23 * 2]’ A.hs:7:1: Warning: Top-level binding with no type signature: main :: IO () @@ -20,13 +20,13 @@ B.hs:4:1: Warning: answer_to_live_the_universe_and_everything :: Int B.hs:5:13: Warning: - Defaulting the following constraint(s) to type ‛Integer’ - (Num a0) arising from the literal ‛1’ at B.hs:5:13 + Defaulting the following constraint(s) to type ‘Integer’ + (Num a0) arising from the literal ‘1’ at B.hs:5:13 (Enum a0) - arising from the arithmetic sequence ‛1 .. 23 * 2’ at B.hs:5:12-20 + arising from the arithmetic sequence ‘1 .. 23 * 2’ at B.hs:5:12-20 In the expression: 1 - In the first argument of ‛length’, namely ‛[1 .. 23 * 2]’ - In the first argument of ‛(-)’, namely ‛length [1 .. 23 * 2]’ + In the first argument of ‘length’, namely ‘[1 .. 23 * 2]’ + In the first argument of ‘(-)’, namely ‘length [1 .. 23 * 2]’ A.hs:7:1: Warning: Top-level binding with no type signature: main :: IO () diff --git a/testsuite/tests/ghc-e/should_run/T2636.stderr b/testsuite/tests/ghc-e/should_run/T2636.stderr index dbe70becec..98c109e92d 100644 --- a/testsuite/tests/ghc-e/should_run/T2636.stderr +++ b/testsuite/tests/ghc-e/should_run/T2636.stderr @@ -1,4 +1,4 @@ T2636.hs:1:8: - Could not find module ‛MissingModule’ + Could not find module ‘MissingModule’ Use -v to see a list of the files searched for. diff --git a/testsuite/tests/ghci.debugger/scripts/break003.stderr b/testsuite/tests/ghci.debugger/scripts/break003.stderr index c1dda071d5..5baf41bcdf 100644 --- a/testsuite/tests/ghci.debugger/scripts/break003.stderr +++ b/testsuite/tests/ghci.debugger/scripts/break003.stderr @@ -1,4 +1,4 @@ <interactive>:5:1: - No instance for (Show (t -> t1)) arising from a use of ‛print’ + No instance for (Show (t -> t1)) arising from a use of ‘print’ In a stmt of an interactive GHCi command: print it diff --git a/testsuite/tests/ghci.debugger/scripts/break006.stderr b/testsuite/tests/ghci.debugger/scripts/break006.stderr index 8c190057b6..a8ca98bf23 100644 --- a/testsuite/tests/ghci.debugger/scripts/break006.stderr +++ b/testsuite/tests/ghci.debugger/scripts/break006.stderr @@ -1,26 +1,26 @@ <interactive>:6:1: - No instance for (Show t1) arising from a use of ‛print’ - Cannot resolve unknown runtime type ‛t1’ + No instance for (Show t1) arising from a use of ‘print’ + Cannot resolve unknown runtime type ‘t1’ Use :print or :force to determine these types Relevant bindings include it :: t1 (bound at <interactive>:6:1) Note: there are several potential instances: - instance Show Double -- Defined in ‛GHC.Float’ - instance Show Float -- Defined in ‛GHC.Float’ + instance Show Double -- Defined in ‘GHC.Float’ + instance Show Float -- Defined in ‘GHC.Float’ instance (Integral a, Show a) => Show (GHC.Real.Ratio a) - -- Defined in ‛GHC.Real’ + -- Defined in ‘GHC.Real’ ...plus 24 others In a stmt of an interactive GHCi command: print it <interactive>:8:1: - No instance for (Show t1) arising from a use of ‛print’ - Cannot resolve unknown runtime type ‛t1’ + No instance for (Show t1) arising from a use of ‘print’ + Cannot resolve unknown runtime type ‘t1’ Use :print or :force to determine these types Relevant bindings include it :: t1 (bound at <interactive>:8:1) Note: there are several potential instances: - instance Show Double -- Defined in ‛GHC.Float’ - instance Show Float -- Defined in ‛GHC.Float’ + instance Show Double -- Defined in ‘GHC.Float’ + instance Show Float -- Defined in ‘GHC.Float’ instance (Integral a, Show a) => Show (GHC.Real.Ratio a) - -- Defined in ‛GHC.Real’ + -- Defined in ‘GHC.Real’ ...plus 24 others In a stmt of an interactive GHCi command: print it diff --git a/testsuite/tests/ghci.debugger/scripts/break019.stderr b/testsuite/tests/ghci.debugger/scripts/break019.stderr index 41ec1e89e3..36e9ac2327 100644 --- a/testsuite/tests/ghci.debugger/scripts/break019.stderr +++ b/testsuite/tests/ghci.debugger/scripts/break019.stderr @@ -1,2 +1,2 @@ -Top level: Not in scope: data constructor ‛Test2’ +Top level: Not in scope: data constructor ‘Test2’ diff --git a/testsuite/tests/ghci.debugger/scripts/dynbrk001.stderr b/testsuite/tests/ghci.debugger/scripts/dynbrk001.stderr index ebc73e5d82..49283bea08 100644 --- a/testsuite/tests/ghci.debugger/scripts/dynbrk001.stderr +++ b/testsuite/tests/ghci.debugger/scripts/dynbrk001.stderr @@ -1,4 +1,4 @@ <no location info>: - Could not find module ‛NonModule’ + Could not find module ‘NonModule’ It is not a module in the current program, or in any known package. diff --git a/testsuite/tests/ghci.debugger/scripts/dynbrk001.stdout b/testsuite/tests/ghci.debugger/scripts/dynbrk001.stdout index 358f44990c..55c096fd1c 100644 --- a/testsuite/tests/ghci.debugger/scripts/dynbrk001.stdout +++ b/testsuite/tests/ghci.debugger/scripts/dynbrk001.stdout @@ -2,4 +2,4 @@ Breakpoint 1 does not exist No breakpoints found at that location. No active breakpoints. [4,8,15,16,23,42] -map :: forall a b. (a -> b) -> [a] -> [b] -- Defined in ‛GHC.Base’ +map :: forall a b. (a -> b) -> [a] -> [b] -- Defined in ‘GHC.Base’ diff --git a/testsuite/tests/ghci.debugger/scripts/print019.stderr b/testsuite/tests/ghci.debugger/scripts/print019.stderr index c53fb9cc47..8ba1a1dc22 100644 --- a/testsuite/tests/ghci.debugger/scripts/print019.stderr +++ b/testsuite/tests/ghci.debugger/scripts/print019.stderr @@ -1,7 +1,7 @@ <interactive>:11:1: - No instance for (Show a1) arising from a use of ‛print’ - Cannot resolve unknown runtime type ‛a1’ + No instance for (Show a1) arising from a use of ‘print’ + Cannot resolve unknown runtime type ‘a1’ Use :print or :force to determine these types Relevant bindings include it :: a1 (bound at <interactive>:11:1) Note: there are several potential instances: diff --git a/testsuite/tests/ghci/prog006/prog006.stderr b/testsuite/tests/ghci/prog006/prog006.stderr index 0001208e2d..7bc3b1b2ef 100644 --- a/testsuite/tests/ghci/prog006/prog006.stderr +++ b/testsuite/tests/ghci/prog006/prog006.stderr @@ -1,4 +1,4 @@ Boot.hs:5:13: - Not a data constructor: ‛forall’ + Not a data constructor: ‘forall’ Perhaps you intended to use ExistentialQuantification diff --git a/testsuite/tests/ghci/prog009/ghci.prog009.stderr b/testsuite/tests/ghci/prog009/ghci.prog009.stderr index ca9a7bc591..97297522b9 100644 --- a/testsuite/tests/ghci/prog009/ghci.prog009.stderr +++ b/testsuite/tests/ghci/prog009/ghci.prog009.stderr @@ -1,8 +1,8 @@ -A.hs:1:16: parse error on input ‛where’ +A.hs:1:16: parse error on input ‘where’ <interactive>:26:1: - Not in scope: ‛yan’ - Perhaps you meant ‛tan’ (imported from Prelude) + Not in scope: ‘yan’ + Perhaps you meant ‘tan’ (imported from Prelude) -A.hs:1:16: parse error on input ‛where’ +A.hs:1:16: parse error on input ‘where’ diff --git a/testsuite/tests/ghci/prog012/prog012.stderr b/testsuite/tests/ghci/prog012/prog012.stderr index db122d9c64..f22f674230 100644 --- a/testsuite/tests/ghci/prog012/prog012.stderr +++ b/testsuite/tests/ghci/prog012/prog012.stderr @@ -1,2 +1,2 @@ -Bar.hs:3:7: Not in scope: ‛nonexistent’ +Bar.hs:3:7: Not in scope: ‘nonexistent’ diff --git a/testsuite/tests/ghci/scripts/Defer02.stderr b/testsuite/tests/ghci/scripts/Defer02.stderr index 2d4b848529..ed36a3eb3c 100644 --- a/testsuite/tests/ghci/scripts/Defer02.stderr +++ b/testsuite/tests/ghci/scripts/Defer02.stderr @@ -1,48 +1,48 @@ ../../typecheck/should_run/Defer01.hs:11:40: Warning: - Couldn't match type ‛Char’ with ‛[Char]’ + Couldn't match type ‘Char’ with ‘[Char]’ Expected type: String Actual type: Char - In the first argument of ‛putStr’, namely ‛','’ - In the second argument of ‛(>>)’, namely ‛putStr ','’ + In the first argument of ‘putStr’, namely ‘','’ + In the second argument of ‘(>>)’, namely ‘putStr ','’ In the expression: putStr "Hello World" >> putStr ',' ../../typecheck/should_run/Defer01.hs:14:5: Warning: - Couldn't match expected type ‛Int’ with actual type ‛Char’ + Couldn't match expected type ‘Int’ with actual type ‘Char’ In the expression: 'p' - In an equation for ‛a’: a = 'p' + In an equation for ‘a’: a = 'p' ../../typecheck/should_run/Defer01.hs:18:9: Warning: - No instance for (Eq B) arising from a use of ‛==’ + No instance for (Eq B) arising from a use of ‘==’ In the expression: x == x - In an equation for ‛b’: b x = x == x + In an equation for ‘b’: b x = x == x ../../typecheck/should_run/Defer01.hs:25:4: Warning: - Couldn't match type ‛Int’ with ‛Bool’ + Couldn't match type ‘Int’ with ‘Bool’ Inaccessible code in a pattern with constructor C2 :: Bool -> C Bool, - in an equation for ‛c’ + in an equation for ‘c’ In the pattern: C2 x - In an equation for ‛c’: c (C2 x) = True + In an equation for ‘c’: c (C2 x) = True ../../typecheck/should_run/Defer01.hs:28:5: Warning: - No instance for (Num (a -> a)) arising from the literal ‛1’ + No instance for (Num (a -> a)) arising from the literal ‘1’ In the expression: 1 - In an equation for ‛d’: d = 1 + In an equation for ‘d’: d = 1 ../../typecheck/should_run/Defer01.hs:31:5: Warning: - Couldn't match expected type ‛Char -> t’ with actual type ‛Char’ + Couldn't match expected type ‘Char -> t’ with actual type ‘Char’ Relevant bindings include f :: t (bound at ../../typecheck/should_run/Defer01.hs:31:1) - The function ‛e’ is applied to one argument, - but its type ‛Char’ has none + The function ‘e’ is applied to one argument, + but its type ‘Char’ has none In the expression: e 'q' - In an equation for ‛f’: f = e 'q' + In an equation for ‘f’: f = e 'q' ../../typecheck/should_run/Defer01.hs:34:8: Warning: - Couldn't match expected type ‛Char’ with actual type ‛a’ - ‛a’ is a rigid type variable bound by + Couldn't match expected type ‘Char’ with actual type ‘a’ + ‘a’ is a rigid type variable bound by the type signature for h :: a -> (Char, Char) at ../../typecheck/should_run/Defer01.hs:33:6 Relevant bindings include @@ -53,103 +53,103 @@ In the expression: (x, 'c') ../../typecheck/should_run/Defer01.hs:39:17: Warning: - Couldn't match expected type ‛Bool’ with actual type ‛T a’ + Couldn't match expected type ‘Bool’ with actual type ‘T a’ Relevant bindings include a :: a (bound at ../../typecheck/should_run/Defer01.hs:39:3) i :: a -> () (bound at ../../typecheck/should_run/Defer01.hs:39:1) - In the first argument of ‛not’, namely ‛(K a)’ + In the first argument of ‘not’, namely ‘(K a)’ In the expression: (not (K a)) ../../typecheck/should_run/Defer01.hs:43:5: Warning: - No instance for (MyClass a1) arising from a use of ‛myOp’ + No instance for (MyClass a1) arising from a use of ‘myOp’ In the expression: myOp 23 - In an equation for ‛j’: j = myOp 23 + In an equation for ‘j’: j = myOp 23 ../../typecheck/should_run/Defer01.hs:43:10: Warning: - No instance for (Num a1) arising from the literal ‛23’ - The type variable ‛a1’ is ambiguous + No instance for (Num a1) arising from the literal ‘23’ + The type variable ‘a1’ is ambiguous Note: there are several potential instances: - instance Num Double -- Defined in ‛GHC.Float’ - instance Num Float -- Defined in ‛GHC.Float’ + instance Num Double -- Defined in ‘GHC.Float’ + instance Num Float -- Defined in ‘GHC.Float’ instance Integral a => Num (GHC.Real.Ratio a) - -- Defined in ‛GHC.Real’ + -- Defined in ‘GHC.Real’ ...plus three others - In the first argument of ‛myOp’, namely ‛23’ + In the first argument of ‘myOp’, namely ‘23’ In the expression: myOp 23 - In an equation for ‛j’: j = myOp 23 + In an equation for ‘j’: j = myOp 23 ../../typecheck/should_run/Defer01.hs:45:6: Warning: - Couldn't match type ‛Int’ with ‛Bool’ + Couldn't match type ‘Int’ with ‘Bool’ Inaccessible code in the type signature for k :: Int ~ Bool => Int -> Bool In the ambiguity check for: Int ~ Bool => Int -> Bool To defer the ambiguity check to use sites, enable AllowAmbiguousTypes - In the type signature for ‛k’: k :: Int ~ Bool => Int -> Bool + In the type signature for ‘k’: k :: Int ~ Bool => Int -> Bool ../../typecheck/should_run/Defer01.hs:45:6: Warning: - Couldn't match expected type ‛Bool’ with actual type ‛Int’ + Couldn't match expected type ‘Bool’ with actual type ‘Int’ In the ambiguity check for: Int ~ Bool => Int -> Bool To defer the ambiguity check to use sites, enable AllowAmbiguousTypes - In the type signature for ‛k’: k :: Int ~ Bool => Int -> Bool + In the type signature for ‘k’: k :: Int ~ Bool => Int -> Bool ../../typecheck/should_run/Defer01.hs:45:6: Warning: - Couldn't match type ‛Int’ with ‛Bool’ + Couldn't match type ‘Int’ with ‘Bool’ Inaccessible code in the type signature for k :: Int ~ Bool => Int -> Bool ../../typecheck/should_run/Defer01.hs:46:7: Warning: - Couldn't match expected type ‛Bool’ with actual type ‛Int’ + Couldn't match expected type ‘Bool’ with actual type ‘Int’ In the expression: x - In an equation for ‛k’: k x = x + In an equation for ‘k’: k x = x ../../typecheck/should_run/Defer01.hs:49:5: Warning: - Couldn't match expected type ‛IO a0’ - with actual type ‛Char -> IO ()’ - Probable cause: ‛putChar’ is applied to too few arguments - In the first argument of ‛(>>)’, namely ‛putChar’ + Couldn't match expected type ‘IO a0’ + with actual type ‘Char -> IO ()’ + Probable cause: ‘putChar’ is applied to too few arguments + In the first argument of ‘(>>)’, namely ‘putChar’ In the expression: putChar >> putChar 'p' *** Exception: ../../typecheck/should_run/Defer01.hs:11:40: - Couldn't match type ‛Char’ with ‛[Char]’ + Couldn't match type ‘Char’ with ‘[Char]’ Expected type: String Actual type: Char - In the first argument of ‛putStr’, namely ‛','’ - In the second argument of ‛(>>)’, namely ‛putStr ','’ + In the first argument of ‘putStr’, namely ‘','’ + In the second argument of ‘(>>)’, namely ‘putStr ','’ In the expression: putStr "Hello World" >> putStr ',' (deferred type error) *** Exception: ../../typecheck/should_run/Defer01.hs:14:5: - Couldn't match expected type ‛Int’ with actual type ‛Char’ + Couldn't match expected type ‘Int’ with actual type ‘Char’ In the expression: 'p' - In an equation for ‛a’: a = 'p' + In an equation for ‘a’: a = 'p' (deferred type error) *** Exception: ../../typecheck/should_run/Defer01.hs:18:9: - No instance for (Eq B) arising from a use of ‛==’ + No instance for (Eq B) arising from a use of ‘==’ In the expression: x == x - In an equation for ‛b’: b x = x == x + In an equation for ‘b’: b x = x == x (deferred type error) <interactive>:8:11: - Couldn't match type ‛Bool’ with ‛Int’ + Couldn't match type ‘Bool’ with ‘Int’ Expected type: C Int Actual type: C Bool - In the first argument of ‛c’, namely ‛(C2 True)’ - In the first argument of ‛print’, namely ‛(c (C2 True))’ + In the first argument of ‘c’, namely ‘(C2 True)’ + In the first argument of ‘print’, namely ‘(c (C2 True))’ *** Exception: ../../typecheck/should_run/Defer01.hs:28:5: - No instance for (Num (a -> a)) arising from the literal ‛1’ + No instance for (Num (a -> a)) arising from the literal ‘1’ In the expression: 1 - In an equation for ‛d’: d = 1 + In an equation for ‘d’: d = 1 (deferred type error) *** Exception: ../../typecheck/should_run/Defer01.hs:31:5: - Couldn't match expected type ‛Char -> t’ with actual type ‛Char’ + Couldn't match expected type ‘Char -> t’ with actual type ‘Char’ Relevant bindings include f :: t (bound at ../../typecheck/should_run/Defer01.hs:31:1) - The function ‛e’ is applied to one argument, - but its type ‛Char’ has none + The function ‘e’ is applied to one argument, + but its type ‘Char’ has none In the expression: e 'q' - In an equation for ‛f’: f = e 'q' + In an equation for ‘f’: f = e 'q' (deferred type error) *** Exception: ../../typecheck/should_run/Defer01.hs:34:8: - Couldn't match expected type ‛Char’ with actual type ‛a’ - ‛a’ is a rigid type variable bound by + Couldn't match expected type ‘Char’ with actual type ‘a’ + ‘a’ is a rigid type variable bound by the type signature for h :: a -> (Char, Char) at ../../typecheck/should_run/Defer01.hs:33:6 Relevant bindings include @@ -160,28 +160,28 @@ In the expression: (x, 'c') (deferred type error) *** Exception: ../../typecheck/should_run/Defer01.hs:39:17: - Couldn't match expected type ‛Bool’ with actual type ‛T a’ + Couldn't match expected type ‘Bool’ with actual type ‘T a’ Relevant bindings include a :: a (bound at ../../typecheck/should_run/Defer01.hs:39:3) i :: a -> () (bound at ../../typecheck/should_run/Defer01.hs:39:1) - In the first argument of ‛not’, namely ‛(K a)’ + In the first argument of ‘not’, namely ‘(K a)’ In the expression: (not (K a)) (deferred type error) *** Exception: ../../typecheck/should_run/Defer01.hs:43:5: - No instance for (MyClass a1) arising from a use of ‛myOp’ + No instance for (MyClass a1) arising from a use of ‘myOp’ In the expression: myOp 23 - In an equation for ‛j’: j = myOp 23 + In an equation for ‘j’: j = myOp 23 (deferred type error) <interactive>:14:8: - Couldn't match expected type ‛Bool’ with actual type ‛Int’ - In the first argument of ‛print’, namely ‛(k 2)’ + Couldn't match expected type ‘Bool’ with actual type ‘Int’ + In the first argument of ‘print’, namely ‘(k 2)’ In the expression: print (k 2) - In an equation for ‛it’: it = print (k 2) + In an equation for ‘it’: it = print (k 2) *** Exception: ../../typecheck/should_run/Defer01.hs:49:5: - Couldn't match expected type ‛IO a0’ - with actual type ‛Char -> IO ()’ - Probable cause: ‛putChar’ is applied to too few arguments - In the first argument of ‛(>>)’, namely ‛putChar’ + Couldn't match expected type ‘IO a0’ + with actual type ‘Char -> IO ()’ + Probable cause: ‘putChar’ is applied to too few arguments + In the first argument of ‘(>>)’, namely ‘putChar’ In the expression: putChar >> putChar 'p' (deferred type error) diff --git a/testsuite/tests/ghci/scripts/T2452.stderr b/testsuite/tests/ghci/scripts/T2452.stderr index a2fa4fc8a5..68e07ae367 100644 --- a/testsuite/tests/ghci/scripts/T2452.stderr +++ b/testsuite/tests/ghci/scripts/T2452.stderr @@ -1,2 +1,2 @@ -<interactive>:1:1: Not in scope: ‛System.IO.hPutStrLn’ +<interactive>:1:1: Not in scope: ‘System.IO.hPutStrLn’ diff --git a/testsuite/tests/ghci/scripts/T2816.stderr b/testsuite/tests/ghci/scripts/T2816.stderr index ba4c1bd955..a70f7a5179 100644 --- a/testsuite/tests/ghci/scripts/T2816.stderr +++ b/testsuite/tests/ghci/scripts/T2816.stderr @@ -1,2 +1,2 @@ -<interactive>:2:1: Not in scope: ‛α’ +<interactive>:2:1: Not in scope: ‘α’ diff --git a/testsuite/tests/ghci/scripts/T3263.stderr b/testsuite/tests/ghci/scripts/T3263.stderr index 9a09c81870..737f0bbcaa 100644 --- a/testsuite/tests/ghci/scripts/T3263.stderr +++ b/testsuite/tests/ghci/scripts/T3263.stderr @@ -1,5 +1,5 @@ T3263.hs:8:12: Warning: - A do-notation statement discarded a result of type ‛Char’ - Suppress this warning by saying ‛_ <- getChar’ + A do-notation statement discarded a result of type ‘Char’ + Suppress this warning by saying ‘_ <- getChar’ or by using the flag -fno-warn-unused-do-bind diff --git a/testsuite/tests/ghci/scripts/T4127a.stderr b/testsuite/tests/ghci/scripts/T4127a.stderr index 598bdbc5a3..58d1bb683e 100644 --- a/testsuite/tests/ghci/scripts/T4127a.stderr +++ b/testsuite/tests/ghci/scripts/T4127a.stderr @@ -1,6 +1,6 @@ <interactive>:3:68: - Multiple declarations of ‛f’ + Multiple declarations of ‘f’ Declared at: <interactive>:3:32 <interactive>:3:68 In the Template Haskell quotation diff --git a/testsuite/tests/ghci/scripts/T4175.stdout b/testsuite/tests/ghci/scripts/T4175.stdout index d8b8de0be0..1f44bd1051 100644 --- a/testsuite/tests/ghci/scripts/T4175.stdout +++ b/testsuite/tests/ghci/scripts/T4175.stdout @@ -17,36 +17,36 @@ type family E a :: * where E () = Bool E Int = String -- Defined at T4175.hs:24:1 -data () = () -- Defined in ‛GHC.Tuple’ +data () = () -- Defined in ‘GHC.Tuple’ instance C () -- Defined at T4175.hs:21:10 -instance Bounded () -- Defined in ‛GHC.Enum’ -instance Enum () -- Defined in ‛GHC.Enum’ -instance Eq () -- Defined in ‛GHC.Classes’ -instance Ord () -- Defined in ‛GHC.Classes’ -instance Read () -- Defined in ‛GHC.Read’ -instance Show () -- Defined in ‛GHC.Show’ +instance Bounded () -- Defined in ‘GHC.Enum’ +instance Enum () -- Defined in ‘GHC.Enum’ +instance Eq () -- Defined in ‘GHC.Classes’ +instance Ord () -- Defined in ‘GHC.Classes’ +instance Read () -- Defined in ‘GHC.Read’ +instance Show () -- Defined in ‘GHC.Show’ type D () () -- Defined at T4175.hs:22:5 type D Int () -- Defined at T4175.hs:19:5 data instance B () -- Defined at T4175.hs:13:15 -data Maybe a = Nothing | Just a -- Defined in ‛Data.Maybe’ -instance Eq a => Eq (Maybe a) -- Defined in ‛Data.Maybe’ -instance Monad Maybe -- Defined in ‛Data.Maybe’ -instance Functor Maybe -- Defined in ‛Data.Maybe’ -instance Ord a => Ord (Maybe a) -- Defined in ‛Data.Maybe’ -instance Read a => Read (Maybe a) -- Defined in ‛GHC.Read’ -instance Show a => Show (Maybe a) -- Defined in ‛GHC.Show’ +data Maybe a = Nothing | Just a -- Defined in ‘Data.Maybe’ +instance Eq a => Eq (Maybe a) -- Defined in ‘Data.Maybe’ +instance Monad Maybe -- Defined in ‘Data.Maybe’ +instance Functor Maybe -- Defined in ‘Data.Maybe’ +instance Ord a => Ord (Maybe a) -- Defined in ‘Data.Maybe’ +instance Read a => Read (Maybe a) -- Defined in ‘GHC.Read’ +instance Show a => Show (Maybe a) -- Defined in ‘GHC.Show’ type instance A (Maybe a) a -- Defined at T4175.hs:9:1 -data Int = I# Int# -- Defined in ‛GHC.Types’ +data Int = I# Int# -- Defined in ‘GHC.Types’ instance C Int -- Defined at T4175.hs:18:10 -instance Bounded Int -- Defined in ‛GHC.Enum’ -instance Enum Int -- Defined in ‛GHC.Enum’ -instance Eq Int -- Defined in ‛GHC.Classes’ -instance Integral Int -- Defined in ‛GHC.Real’ -instance Num Int -- Defined in ‛GHC.Num’ -instance Ord Int -- Defined in ‛GHC.Classes’ -instance Read Int -- Defined in ‛GHC.Read’ -instance Real Int -- Defined in ‛GHC.Real’ -instance Show Int -- Defined in ‛GHC.Show’ +instance Bounded Int -- Defined in ‘GHC.Enum’ +instance Enum Int -- Defined in ‘GHC.Enum’ +instance Eq Int -- Defined in ‘GHC.Classes’ +instance Integral Int -- Defined in ‘GHC.Real’ +instance Num Int -- Defined in ‘GHC.Num’ +instance Ord Int -- Defined in ‘GHC.Classes’ +instance Read Int -- Defined in ‘GHC.Read’ +instance Real Int -- Defined in ‘GHC.Real’ +instance Show Int -- Defined in ‘GHC.Show’ type D Int () -- Defined at T4175.hs:19:5 type instance A Int Int -- Defined at T4175.hs:8:1 class Z a -- Defined at T4175.hs:28:1 diff --git a/testsuite/tests/ghci/scripts/T5545.stdout b/testsuite/tests/ghci/scripts/T5545.stdout index 8ba680a5cb..6a72f59b84 100644 --- a/testsuite/tests/ghci/scripts/T5545.stdout +++ b/testsuite/tests/ghci/scripts/T5545.stdout @@ -1,2 +1,2 @@ -($!) :: (a -> b) -> a -> b -- Defined in ‛Prelude’ +($!) :: (a -> b) -> a -> b -- Defined in ‘Prelude’ infixr 0 $! diff --git a/testsuite/tests/ghci/scripts/T5564.stderr b/testsuite/tests/ghci/scripts/T5564.stderr index e24eacf5c7..c358dab319 100644 --- a/testsuite/tests/ghci/scripts/T5564.stderr +++ b/testsuite/tests/ghci/scripts/T5564.stderr @@ -1,9 +1,9 @@ <interactive>:3:1: - Not in scope: ‛git’ - Perhaps you meant ‛it’ (line 2) + Not in scope: ‘git’ + Perhaps you meant ‘it’ (line 2) <interactive>:5:1: - Not in scope: ‛fit’ + Not in scope: ‘fit’ Perhaps you meant one of these: - ‛fst’ (imported from Prelude), ‛it’ (line 4) + ‘fst’ (imported from Prelude), ‘it’ (line 4) diff --git a/testsuite/tests/ghci/scripts/T5820.stderr b/testsuite/tests/ghci/scripts/T5820.stderr index bf623bff14..dc89a5fa9b 100644 --- a/testsuite/tests/ghci/scripts/T5820.stderr +++ b/testsuite/tests/ghci/scripts/T5820.stderr @@ -1,5 +1,5 @@ T5820.hs:3:10: Warning: No explicit implementation for - either ‛==’ or ‛/=’ - In the instance declaration for ‛Eq Foo’ + either ‘==’ or ‘/=’ + In the instance declaration for ‘Eq Foo’ diff --git a/testsuite/tests/ghci/scripts/T5836.stderr b/testsuite/tests/ghci/scripts/T5836.stderr index 5bd37b5c00..80de015c5c 100644 --- a/testsuite/tests/ghci/scripts/T5836.stderr +++ b/testsuite/tests/ghci/scripts/T5836.stderr @@ -1,4 +1,4 @@ <no location info>: - Could not find module ‛Does.Not.Exist’ + Could not find module ‘Does.Not.Exist’ It is not a module in the current program, or in any known package. diff --git a/testsuite/tests/ghci/scripts/T5979.stderr b/testsuite/tests/ghci/scripts/T5979.stderr index b4cd884928..fe6e012603 100644 --- a/testsuite/tests/ghci/scripts/T5979.stderr +++ b/testsuite/tests/ghci/scripts/T5979.stderr @@ -1,4 +1,4 @@ <no location info>: - Could not find module ‛Control.Monad.Trans.State’ + Could not find module ‘Control.Monad.Trans.State’ It is not a module in the current program, or in any known package. diff --git a/testsuite/tests/ghci/scripts/T6007.stderr b/testsuite/tests/ghci/scripts/T6007.stderr index 695d25b3ad..aa2be4ee6d 100644 --- a/testsuite/tests/ghci/scripts/T6007.stderr +++ b/testsuite/tests/ghci/scripts/T6007.stderr @@ -1,6 +1,6 @@ <interactive>:1:19: - Module ‛System.IO’ does not export ‛does_not_exist’ + Module ‘System.IO’ does not export ‘does_not_exist’ <interactive>:1:20: - Module ‛Data.Maybe’ does not export ‛does_not_exist’ + Module ‘Data.Maybe’ does not export ‘does_not_exist’ diff --git a/testsuite/tests/ghci/scripts/T7627.stdout b/testsuite/tests/ghci/scripts/T7627.stdout index 351b9abd66..46935eb0ea 100644 --- a/testsuite/tests/ghci/scripts/T7627.stdout +++ b/testsuite/tests/ghci/scripts/T7627.stdout @@ -1,25 +1,25 @@ -data () = () -- Defined in ‛GHC.Tuple’ -instance Bounded () -- Defined in ‛GHC.Enum’ -instance Enum () -- Defined in ‛GHC.Enum’ -instance Eq () -- Defined in ‛GHC.Classes’ -instance Ord () -- Defined in ‛GHC.Classes’ -instance Read () -- Defined in ‛GHC.Read’ -instance Show () -- Defined in ‛GHC.Show’ -data (##) = (##) -- Defined in ‛GHC.Prim’ +data () = () -- Defined in ‘GHC.Tuple’ +instance Bounded () -- Defined in ‘GHC.Enum’ +instance Enum () -- Defined in ‘GHC.Enum’ +instance Eq () -- Defined in ‘GHC.Classes’ +instance Ord () -- Defined in ‘GHC.Classes’ +instance Read () -- Defined in ‘GHC.Read’ +instance Show () -- Defined in ‘GHC.Show’ +data (##) = (##) -- Defined in ‘GHC.Prim’ () :: () (##) :: (# #) ( ) :: () (# #) :: (# #) -data (,) a b = (,) a b -- Defined in ‛GHC.Tuple’ +data (,) a b = (,) a b -- Defined in ‘GHC.Tuple’ instance (Bounded a, Bounded b) => Bounded (a, b) - -- Defined in ‛GHC.Enum’ -instance (Eq a, Eq b) => Eq (a, b) -- Defined in ‛GHC.Classes’ -instance Functor ((,) a) -- Defined in ‛GHC.Base’ -instance (Ord a, Ord b) => Ord (a, b) -- Defined in ‛GHC.Classes’ -instance (Read a, Read b) => Read (a, b) -- Defined in ‛GHC.Read’ -instance (Show a, Show b) => Show (a, b) -- Defined in ‛GHC.Show’ + -- Defined in ‘GHC.Enum’ +instance (Eq a, Eq b) => Eq (a, b) -- Defined in ‘GHC.Classes’ +instance Functor ((,) a) -- Defined in ‘GHC.Base’ +instance (Ord a, Ord b) => Ord (a, b) -- Defined in ‘GHC.Classes’ +instance (Read a, Read b) => Read (a, b) -- Defined in ‘GHC.Read’ +instance (Show a, Show b) => Show (a, b) -- Defined in ‘GHC.Show’ data (#,#) (a :: OpenKind) (b :: OpenKind) = (#,#) a b - -- Defined in ‛GHC.Prim’ + -- Defined in ‘GHC.Prim’ (,) :: a -> b -> (a, b) (#,#) :: a -> b -> (# a, b #) ( , ) :: a -> b -> (a, b) diff --git a/testsuite/tests/ghci/scripts/T7894.stderr b/testsuite/tests/ghci/scripts/T7894.stderr index b0a04e4dfd..4cd2a75ff1 100644 --- a/testsuite/tests/ghci/scripts/T7894.stderr +++ b/testsuite/tests/ghci/scripts/T7894.stderr @@ -1,2 +1,2 @@ -Top level: Not in scope: ‛Data.Maybe.->’ +Top level: Not in scope: ‘Data.Maybe.->’ diff --git a/testsuite/tests/ghci/scripts/T8469.stdout b/testsuite/tests/ghci/scripts/T8469.stdout index 6c66b35fab..cd7966ee66 100644 --- a/testsuite/tests/ghci/scripts/T8469.stdout +++ b/testsuite/tests/ghci/scripts/T8469.stdout @@ -1,10 +1,10 @@ -data Int = GHC.Types.I# GHC.Prim.Int# -- Defined in ‛GHC.Types’ -instance Bounded Int -- Defined in ‛GHC.Enum’ -instance Enum Int -- Defined in ‛GHC.Enum’ -instance Eq Int -- Defined in ‛GHC.Classes’ -instance Integral Int -- Defined in ‛GHC.Real’ -instance Num Int -- Defined in ‛GHC.Num’ -instance Ord Int -- Defined in ‛GHC.Classes’ -instance Read Int -- Defined in ‛GHC.Read’ -instance Real Int -- Defined in ‛GHC.Real’ -instance Show Int -- Defined in ‛GHC.Show’ +data Int = GHC.Types.I# GHC.Prim.Int# -- Defined in ‘GHC.Types’ +instance Bounded Int -- Defined in ‘GHC.Enum’ +instance Enum Int -- Defined in ‘GHC.Enum’ +instance Eq Int -- Defined in ‘GHC.Classes’ +instance Integral Int -- Defined in ‘GHC.Real’ +instance Num Int -- Defined in ‘GHC.Num’ +instance Ord Int -- Defined in ‘GHC.Classes’ +instance Read Int -- Defined in ‘GHC.Read’ +instance Real Int -- Defined in ‘GHC.Real’ +instance Show Int -- Defined in ‘GHC.Show’ diff --git a/testsuite/tests/ghci/scripts/T8485.stderr b/testsuite/tests/ghci/scripts/T8485.stderr index 1731cbd2d6..66358826c0 100644 --- a/testsuite/tests/ghci/scripts/T8485.stderr +++ b/testsuite/tests/ghci/scripts/T8485.stderr @@ -1,4 +1,4 @@ <interactive>:3:1: Role annotation for a type previously declared: type role X nominal - (The role annotation must be given where ‛X’ is declared.) + (The role annotation must be given where ‘X’ is declared.) diff --git a/testsuite/tests/ghci/scripts/T8535.stdout b/testsuite/tests/ghci/scripts/T8535.stdout index dbc88e18da..69efa29fc0 100644 --- a/testsuite/tests/ghci/scripts/T8535.stdout +++ b/testsuite/tests/ghci/scripts/T8535.stdout @@ -1,4 +1,4 @@ -data (->) a b -- Defined in ‛GHC.Prim’ -instance Monad ((->) r) -- Defined in ‛GHC.Base’ -instance Functor ((->) r) -- Defined in ‛GHC.Base’ -instance Monoid b => Monoid (a -> b) -- Defined in ‛Data.Monoid’ +data (->) a b -- Defined in ‘GHC.Prim’ +instance Monad ((->) r) -- Defined in ‘GHC.Base’ +instance Functor ((->) r) -- Defined in ‘GHC.Base’ +instance Monoid b => Monoid (a -> b) -- Defined in ‘Data.Monoid’ diff --git a/testsuite/tests/ghci/scripts/T8639.stderr b/testsuite/tests/ghci/scripts/T8639.stderr index ca52a89a57..2c63d731b1 100644 --- a/testsuite/tests/ghci/scripts/T8639.stderr +++ b/testsuite/tests/ghci/scripts/T8639.stderr @@ -1,4 +1,4 @@ <interactive>:1:1: - Not in scope: ‛H.bit’ - Perhaps you meant ‛Q.bit’ (imported from T8639) + Not in scope: ‘H.bit’ + Perhaps you meant ‘Q.bit’ (imported from T8639) diff --git a/testsuite/tests/ghci/scripts/T8649.stderr b/testsuite/tests/ghci/scripts/T8649.stderr index 2bd4584549..1fe41defdc 100644 --- a/testsuite/tests/ghci/scripts/T8649.stderr +++ b/testsuite/tests/ghci/scripts/T8649.stderr @@ -1,8 +1,8 @@ <interactive>:5:4: - Couldn't match expected type ‛Ghci1.X’ - with actual type ‛X’ - NB: ‛Ghci1.X’ is defined at <interactive>:2:1-14 - ‛X’ is defined at <interactive>:4:1-25 - In the first argument of ‛f’, namely ‛(Y 3)’ + Couldn't match expected type ‘Ghci1.X’ + with actual type ‘X’ + NB: ‘Ghci1.X’ is defined at <interactive>:2:1-14 + ‘X’ is defined at <interactive>:4:1-25 + In the first argument of ‘f’, namely ‘(Y 3)’ In the expression: f (Y 3) diff --git a/testsuite/tests/ghci/scripts/ghci008.stdout b/testsuite/tests/ghci/scripts/ghci008.stdout index 9eaf1dc961..f0a3f19a9c 100644 --- a/testsuite/tests/ghci/scripts/ghci008.stdout +++ b/testsuite/tests/ghci/scripts/ghci008.stdout @@ -1,18 +1,18 @@ class Num a where (+) :: a -> a -> a ... - -- Defined in ‛GHC.Num’ + -- Defined in ‘GHC.Num’ infixl 6 + class Num a where (+) :: a -> a -> a ... - -- Defined in ‛GHC.Num’ + -- Defined in ‘GHC.Num’ infixl 6 + data Data.Complex.Complex a = !a Data.Complex.:+ !a - -- Defined in ‛Data.Complex’ + -- Defined in ‘Data.Complex’ infix 6 Data.Complex.:+ data Data.Complex.Complex a = !a Data.Complex.:+ !a - -- Defined in ‛Data.Complex’ + -- Defined in ‘Data.Complex’ infix 6 Data.Complex.:+ class (RealFrac a, Floating a) => RealFloat a where floatRadix :: a -> Integer @@ -29,8 +29,8 @@ class (RealFrac a, Floating a) => RealFloat a where isNegativeZero :: a -> Bool isIEEE :: a -> Bool atan2 :: a -> a -> a - -- Defined in ‛GHC.Float’ -instance RealFloat Float -- Defined in ‛GHC.Float’ -instance RealFloat Double -- Defined in ‛GHC.Float’ + -- Defined in ‘GHC.Float’ +instance RealFloat Float -- Defined in ‘GHC.Float’ +instance RealFloat Double -- Defined in ‘GHC.Float’ Data.List.isPrefixOf :: Eq a => [a] -> [a] -> Bool - -- Defined in ‛Data.List’ + -- Defined in ‘Data.List’ diff --git a/testsuite/tests/ghci/scripts/ghci011.stdout b/testsuite/tests/ghci/scripts/ghci011.stdout index 540572ea81..239ec07800 100644 --- a/testsuite/tests/ghci/scripts/ghci011.stdout +++ b/testsuite/tests/ghci/scripts/ghci011.stdout @@ -1,22 +1,22 @@ -data [] a = [] | a : [a] -- Defined in ‛GHC.Types’ -instance Eq a => Eq [a] -- Defined in ‛GHC.Classes’ -instance Monad [] -- Defined in ‛GHC.Base’ -instance Functor [] -- Defined in ‛GHC.Base’ -instance Ord a => Ord [a] -- Defined in ‛GHC.Classes’ -instance Read a => Read [a] -- Defined in ‛GHC.Read’ -instance Show a => Show [a] -- Defined in ‛GHC.Show’ -data () = () -- Defined in ‛GHC.Tuple’ -instance Bounded () -- Defined in ‛GHC.Enum’ -instance Enum () -- Defined in ‛GHC.Enum’ -instance Eq () -- Defined in ‛GHC.Classes’ -instance Ord () -- Defined in ‛GHC.Classes’ -instance Read () -- Defined in ‛GHC.Read’ -instance Show () -- Defined in ‛GHC.Show’ -data (,) a b = (,) a b -- Defined in ‛GHC.Tuple’ +data [] a = [] | a : [a] -- Defined in ‘GHC.Types’ +instance Eq a => Eq [a] -- Defined in ‘GHC.Classes’ +instance Monad [] -- Defined in ‘GHC.Base’ +instance Functor [] -- Defined in ‘GHC.Base’ +instance Ord a => Ord [a] -- Defined in ‘GHC.Classes’ +instance Read a => Read [a] -- Defined in ‘GHC.Read’ +instance Show a => Show [a] -- Defined in ‘GHC.Show’ +data () = () -- Defined in ‘GHC.Tuple’ +instance Bounded () -- Defined in ‘GHC.Enum’ +instance Enum () -- Defined in ‘GHC.Enum’ +instance Eq () -- Defined in ‘GHC.Classes’ +instance Ord () -- Defined in ‘GHC.Classes’ +instance Read () -- Defined in ‘GHC.Read’ +instance Show () -- Defined in ‘GHC.Show’ +data (,) a b = (,) a b -- Defined in ‘GHC.Tuple’ instance (Bounded a, Bounded b) => Bounded (a, b) - -- Defined in ‛GHC.Enum’ -instance (Eq a, Eq b) => Eq (a, b) -- Defined in ‛GHC.Classes’ -instance Functor ((,) a) -- Defined in ‛GHC.Base’ -instance (Ord a, Ord b) => Ord (a, b) -- Defined in ‛GHC.Classes’ -instance (Read a, Read b) => Read (a, b) -- Defined in ‛GHC.Read’ -instance (Show a, Show b) => Show (a, b) -- Defined in ‛GHC.Show’ + -- Defined in ‘GHC.Enum’ +instance (Eq a, Eq b) => Eq (a, b) -- Defined in ‘GHC.Classes’ +instance Functor ((,) a) -- Defined in ‘GHC.Base’ +instance (Ord a, Ord b) => Ord (a, b) -- Defined in ‘GHC.Classes’ +instance (Read a, Read b) => Read (a, b) -- Defined in ‘GHC.Read’ +instance (Show a, Show b) => Show (a, b) -- Defined in ‘GHC.Show’ diff --git a/testsuite/tests/ghci/scripts/ghci019.stderr b/testsuite/tests/ghci/scripts/ghci019.stderr index 4c4ae6afc4..de8c7f0901 100644 --- a/testsuite/tests/ghci/scripts/ghci019.stderr +++ b/testsuite/tests/ghci/scripts/ghci019.stderr @@ -1,5 +1,5 @@ ghci019.hs:9:10: Warning: No explicit implementation for - either ‛Prelude.==’ or ‛Prelude./=’ - In the instance declaration for ‛Prelude.Eq Foo’ + either ‘Prelude.==’ or ‘Prelude./=’ + In the instance declaration for ‘Prelude.Eq Foo’ diff --git a/testsuite/tests/ghci/scripts/ghci020.stdout b/testsuite/tests/ghci/scripts/ghci020.stdout index 6d621d3c1d..700a212651 100644 --- a/testsuite/tests/ghci/scripts/ghci020.stdout +++ b/testsuite/tests/ghci/scripts/ghci020.stdout @@ -1,3 +1,3 @@ -data (->) a b -- Defined in ‛GHC.Prim’ -instance Monad ((->) r) -- Defined in ‛GHC.Base’ -instance Functor ((->) r) -- Defined in ‛GHC.Base’ +data (->) a b -- Defined in ‘GHC.Prim’ +instance Monad ((->) r) -- Defined in ‘GHC.Base’ +instance Functor ((->) r) -- Defined in ‘GHC.Base’ diff --git a/testsuite/tests/ghci/scripts/ghci021.stderr b/testsuite/tests/ghci/scripts/ghci021.stderr index 18216b8f18..ea7488174e 100644 --- a/testsuite/tests/ghci/scripts/ghci021.stderr +++ b/testsuite/tests/ghci/scripts/ghci021.stderr @@ -1,2 +1,2 @@ -<no location info>: no such module: ‛ThisDoesNotExist’ +<no location info>: no such module: ‘ThisDoesNotExist’ diff --git a/testsuite/tests/ghci/scripts/ghci034.stderr b/testsuite/tests/ghci/scripts/ghci034.stderr index 00bf3dfb67..1983b7dd7e 100644 --- a/testsuite/tests/ghci/scripts/ghci034.stderr +++ b/testsuite/tests/ghci/scripts/ghci034.stderr @@ -1,2 +1,2 @@ -Top level: Not in scope: ‛thisIsNotDefined’ +Top level: Not in scope: ‘thisIsNotDefined’ diff --git a/testsuite/tests/ghci/scripts/ghci036.stderr b/testsuite/tests/ghci/scripts/ghci036.stderr index e15b1959ac..7e1ac73e10 100644 --- a/testsuite/tests/ghci/scripts/ghci036.stderr +++ b/testsuite/tests/ghci/scripts/ghci036.stderr @@ -1,16 +1,16 @@ -<interactive>:1:1: Not in scope: ‛nubBy’ +<interactive>:1:1: Not in scope: ‘nubBy’ -<interactive>:1:1: Not in scope: ‛nub’ +<interactive>:1:1: Not in scope: ‘nub’ -<interactive>:1:1: Not in scope: ‛nubBy’ +<interactive>:1:1: Not in scope: ‘nubBy’ -<interactive>:1:1: Not in scope: ‛nub’ +<interactive>:1:1: Not in scope: ‘nub’ <interactive>:1:1: - Not in scope: ‛nub’ - Perhaps you meant ‛L.nub’ (imported from Data.List) + Not in scope: ‘nub’ + Perhaps you meant ‘L.nub’ (imported from Data.List) -<interactive>:1:1: Not in scope: ‛L.nub’ +<interactive>:1:1: Not in scope: ‘L.nub’ -<interactive>:1:1: Not in scope: ‛nub’ +<interactive>:1:1: Not in scope: ‘nub’ diff --git a/testsuite/tests/ghci/scripts/ghci038.stderr b/testsuite/tests/ghci/scripts/ghci038.stderr index bb2fb850c8..d0b562726c 100644 --- a/testsuite/tests/ghci/scripts/ghci038.stderr +++ b/testsuite/tests/ghci/scripts/ghci038.stderr @@ -1,4 +1,4 @@ -<interactive>:1:1: Not in scope: ‛map’ +<interactive>:1:1: Not in scope: ‘map’ -<interactive>:1:1: Not in scope: ‛x’ +<interactive>:1:1: Not in scope: ‘x’ diff --git a/testsuite/tests/ghci/scripts/ghci044.stderr b/testsuite/tests/ghci/scripts/ghci044.stderr index 173e39aca4..c319dd1f1c 100644 --- a/testsuite/tests/ghci/scripts/ghci044.stderr +++ b/testsuite/tests/ghci/scripts/ghci044.stderr @@ -1,11 +1,11 @@ <interactive>:5:10: - Illegal instance declaration for ‛C [Int]’ + Illegal instance declaration for ‘C [Int]’ (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use FlexibleInstances if you want to disable this.) - In the instance declaration for ‛C [Int]’ + In the instance declaration for ‘C [Int]’ <interactive>:7:10: Overlapping instance declarations: diff --git a/testsuite/tests/ghci/scripts/ghci047.stderr b/testsuite/tests/ghci/scripts/ghci047.stderr index c888b0492c..dc8dfc9ecb 100644 --- a/testsuite/tests/ghci/scripts/ghci047.stderr +++ b/testsuite/tests/ghci/scripts/ghci047.stderr @@ -1,16 +1,16 @@ <interactive>:38:1: - Couldn't match type ‛HFalse’ with ‛HTrue’ + Couldn't match type ‘HFalse’ with ‘HTrue’ Expected type: HTrue Actual type: Or HFalse HFalse In the expression: f In the expression: f $ Baz 'a' - In an equation for ‛it’: it = f $ Baz 'a' + In an equation for ‘it’: it = f $ Baz 'a' <interactive>:39:1: - Couldn't match type ‛HFalse’ with ‛HTrue’ + Couldn't match type ‘HFalse’ with ‘HTrue’ Expected type: HTrue Actual type: Or HFalse HFalse In the expression: f In the expression: f $ Quz - In an equation for ‛it’: it = f $ Quz + In an equation for ‘it’: it = f $ Quz diff --git a/testsuite/tests/ghci/scripts/ghci048.stderr b/testsuite/tests/ghci/scripts/ghci048.stderr index 3809db88e2..1b96e5da07 100644 --- a/testsuite/tests/ghci/scripts/ghci048.stderr +++ b/testsuite/tests/ghci/scripts/ghci048.stderr @@ -1,10 +1,10 @@ <interactive>:4:16: - Multiple declarations of ‛A’ + Multiple declarations of ‘A’ Declared at: <interactive>:4:12 <interactive>:4:16 <interactive>:6:16: - Multiple declarations of ‛A’ + Multiple declarations of ‘A’ Declared at: <interactive>:6:12 <interactive>:6:16 diff --git a/testsuite/tests/ghci/scripts/ghci050.stderr b/testsuite/tests/ghci/scripts/ghci050.stderr index 191bf3cf6e..4c8de9da4e 100644 --- a/testsuite/tests/ghci/scripts/ghci050.stderr +++ b/testsuite/tests/ghci/scripts/ghci050.stderr @@ -1,8 +1,8 @@ <interactive>:6:49: - Couldn't match expected type ‛ListableElem (a, a)’ - with actual type ‛a’ - ‛a’ is a rigid type variable bound by + Couldn't match expected type ‘ListableElem (a, a)’ + with actual type ‘a’ + ‘a’ is a rigid type variable bound by the instance declaration at <interactive>:6:10 Relevant bindings include b :: a (bound at <interactive>:6:43) diff --git a/testsuite/tests/ghci/scripts/ghci051.stderr b/testsuite/tests/ghci/scripts/ghci051.stderr index 363eeb11f6..327188f42a 100644 --- a/testsuite/tests/ghci/scripts/ghci051.stderr +++ b/testsuite/tests/ghci/scripts/ghci051.stderr @@ -1,10 +1,10 @@ <interactive>:7:9: - Couldn't match type ‛T’ - with ‛Ghci1.T’ - NB: ‛T’ is defined at <interactive>:6:1-16 - ‛Ghci1.T’ is defined at <interactive>:3:1-14 + Couldn't match type ‘T’ + with ‘Ghci1.T’ + NB: ‘T’ is defined at <interactive>:6:1-16 + ‘Ghci1.T’ is defined at <interactive>:3:1-14 Expected type: T' Actual type: T In the expression: C :: T' - In an equation for ‛c’: c = C :: T' + In an equation for ‘c’: c = C :: T' diff --git a/testsuite/tests/ghci/scripts/ghci052.stderr b/testsuite/tests/ghci/scripts/ghci052.stderr index a653ea0cdd..b2b0c7613b 100644 --- a/testsuite/tests/ghci/scripts/ghci052.stderr +++ b/testsuite/tests/ghci/scripts/ghci052.stderr @@ -1,32 +1,32 @@ <interactive>:9:4: - Couldn't match expected type ‛Ghci1.Planet’ - with actual type ‛Planet’ - NB: ‛Ghci1.Planet’ is defined at <interactive>:5:1-37 - ‛Planet’ is defined at <interactive>:8:1-36 - In the first argument of ‛pn’, namely ‛Mercury’ + Couldn't match expected type ‘Ghci1.Planet’ + with actual type ‘Planet’ + NB: ‘Ghci1.Planet’ is defined at <interactive>:5:1-37 + ‘Planet’ is defined at <interactive>:8:1-36 + In the first argument of ‘pn’, namely ‘Mercury’ In the expression: pn Mercury <interactive>:10:4: - Couldn't match expected type ‛Ghci1.Planet’ - with actual type ‛Planet’ - NB: ‛Ghci1.Planet’ is defined at <interactive>:5:1-37 - ‛Planet’ is defined at <interactive>:8:1-36 - In the first argument of ‛pn’, namely ‛Venus’ + Couldn't match expected type ‘Ghci1.Planet’ + with actual type ‘Planet’ + NB: ‘Ghci1.Planet’ is defined at <interactive>:5:1-37 + ‘Planet’ is defined at <interactive>:8:1-36 + In the first argument of ‘pn’, namely ‘Venus’ In the expression: pn Venus <interactive>:11:4: - Couldn't match expected type ‛Ghci1.Planet’ - with actual type ‛Planet’ - NB: ‛Ghci1.Planet’ is defined at <interactive>:5:1-37 - ‛Planet’ is defined at <interactive>:8:1-36 - In the first argument of ‛pn’, namely ‛Mars’ + Couldn't match expected type ‘Ghci1.Planet’ + with actual type ‘Planet’ + NB: ‘Ghci1.Planet’ is defined at <interactive>:5:1-37 + ‘Planet’ is defined at <interactive>:8:1-36 + In the first argument of ‘pn’, namely ‘Mars’ In the expression: pn Mars <interactive>:13:44: - Couldn't match expected type ‛Planet’ - with actual type ‛Ghci1.Planet’ - NB: ‛Planet’ is defined at <interactive>:8:1-36 - ‛Ghci1.Planet’ is defined at <interactive>:5:1-37 + Couldn't match expected type ‘Planet’ + with actual type ‘Ghci1.Planet’ + NB: ‘Planet’ is defined at <interactive>:8:1-36 + ‘Ghci1.Planet’ is defined at <interactive>:5:1-37 In the pattern: Earth - In an equation for ‛pn’: pn Earth = "E" + In an equation for ‘pn’: pn Earth = "E" diff --git a/testsuite/tests/ghci/scripts/ghci053.stderr b/testsuite/tests/ghci/scripts/ghci053.stderr index 6ea05924d9..2d91a51d21 100644 --- a/testsuite/tests/ghci/scripts/ghci053.stderr +++ b/testsuite/tests/ghci/scripts/ghci053.stderr @@ -1,16 +1,16 @@ <interactive>:10:12: - Couldn't match expected type ‛Ghci1.Planet’ - with actual type ‛Planet’ - NB: ‛Ghci1.Planet’ is defined at <interactive>:5:1-49 - ‛Planet’ is defined at <interactive>:8:1-41 - In the second argument of ‛(==)’, namely ‛Mercury’ + Couldn't match expected type ‘Ghci1.Planet’ + with actual type ‘Planet’ + NB: ‘Ghci1.Planet’ is defined at <interactive>:5:1-49 + ‘Planet’ is defined at <interactive>:8:1-41 + In the second argument of ‘(==)’, namely ‘Mercury’ In the expression: mercury == Mercury <interactive>:12:10: - Couldn't match expected type ‛Planet’ - with actual type ‛Ghci1.Planet’ - NB: ‛Planet’ is defined at <interactive>:8:1-41 - ‛Ghci1.Planet’ is defined at <interactive>:5:1-49 - In the second argument of ‛(==)’, namely ‛Earth’ + Couldn't match expected type ‘Planet’ + with actual type ‘Ghci1.Planet’ + NB: ‘Planet’ is defined at <interactive>:8:1-41 + ‘Ghci1.Planet’ is defined at <interactive>:5:1-49 + In the second argument of ‘(==)’, namely ‘Earth’ In the expression: Venus == Earth diff --git a/testsuite/tests/ghci/scripts/ghci057.stderr b/testsuite/tests/ghci/scripts/ghci057.stderr index e26f15e1a9..089704d9b4 100644 --- a/testsuite/tests/ghci/scripts/ghci057.stderr +++ b/testsuite/tests/ghci/scripts/ghci057.stderr @@ -1,19 +1,19 @@ <interactive>:5:1: - Illegal generalised algebraic data declaration for ‛T’ + Illegal generalised algebraic data declaration for ‘T’ (Use GADTs to allow GADTs) - In the data declaration for ‛T’ + In the data declaration for ‘T’ ghci057.hs:3:3: - Data constructor ‛C’ has existential type variables, a context, or a specialised result type + Data constructor ‘C’ has existential type variables, a context, or a specialised result type C :: T Int (Use ExistentialQuantification or GADTs to allow this) - In the definition of data constructor ‛C’ - In the data declaration for ‛T’ + In the definition of data constructor ‘C’ + In the data declaration for ‘T’ ghci057.hs:3:3: - Data constructor ‛C’ has existential type variables, a context, or a specialised result type + Data constructor ‘C’ has existential type variables, a context, or a specialised result type C :: T Int (Use ExistentialQuantification or GADTs to allow this) - In the definition of data constructor ‛C’ - In the data declaration for ‛T’ + In the definition of data constructor ‘C’ + In the data declaration for ‘T’ diff --git a/testsuite/tests/haddock/haddock_examples/haddock.Test.stderr b/testsuite/tests/haddock/haddock_examples/haddock.Test.stderr index 097b6ef1dd..fa92d3dd92 100644 --- a/testsuite/tests/haddock/haddock_examples/haddock.Test.stderr +++ b/testsuite/tests/haddock/haddock_examples/haddock.Test.stderr @@ -188,10 +188,10 @@ m = undefined -Test.hs:32:9: Warning: ‛p’ is exported by ‛p’ and ‛R(..)’ +Test.hs:32:9: Warning: ‘p’ is exported by ‘p’ and ‘R(..)’ -Test.hs:32:12: Warning: ‛q’ is exported by ‛q’ and ‛R(..)’ +Test.hs:32:12: Warning: ‘q’ is exported by ‘q’ and ‘R(..)’ -Test.hs:32:15: Warning: ‛u’ is exported by ‛u’ and ‛R(..)’ +Test.hs:32:15: Warning: ‘u’ is exported by ‘u’ and ‘R(..)’ -Test.hs:38:9: Warning: ‛a’ is exported by ‛a’ and ‛C(a, b)’ +Test.hs:38:9: Warning: ‘a’ is exported by ‘a’ and ‘C(a, b)’ diff --git a/testsuite/tests/haddock/should_fail_flag_haddock/haddockE004.stderr b/testsuite/tests/haddock/should_fail_flag_haddock/haddockE004.stderr index ace4e814f7..efd20d2ed1 100644 --- a/testsuite/tests/haddock/should_fail_flag_haddock/haddockE004.stderr +++ b/testsuite/tests/haddock/should_fail_flag_haddock/haddockE004.stderr @@ -1,2 +1,2 @@ -haddockE004.hs:3:1: parse error on input ‛main’ +haddockE004.hs:3:1: parse error on input ‘main’ diff --git a/testsuite/tests/indexed-types/should_compile/Class3.stderr b/testsuite/tests/indexed-types/should_compile/Class3.stderr index bf288df7f5..2616c2e3f5 100644 --- a/testsuite/tests/indexed-types/should_compile/Class3.stderr +++ b/testsuite/tests/indexed-types/should_compile/Class3.stderr @@ -1,5 +1,5 @@ Class3.hs:7:10: Warning: No explicit implementation for - ‛foo’ - In the instance declaration for ‛C ()’ + ‘foo’ + In the instance declaration for ‘C ()’ diff --git a/testsuite/tests/indexed-types/should_compile/Simple14.stderr b/testsuite/tests/indexed-types/should_compile/Simple14.stderr index ed94ad5754..e2275b41c9 100644 --- a/testsuite/tests/indexed-types/should_compile/Simple14.stderr +++ b/testsuite/tests/indexed-types/should_compile/Simple14.stderr @@ -1,18 +1,18 @@ Simple14.hs:17:19:
- Couldn't match type ‛z0’ with ‛m’
- ‛z0’ is untouchable
+ Couldn't match type ‘z0’ with ‘m’
+ ‘z0’ is untouchable
inside the constraints (Maybe m ~ Maybe n)
bound by a type expected by the context:
Maybe m ~ Maybe n => EQ_ z0 z0
at Simple14.hs:17:12-33
- ‛m’ is a rigid type variable bound by
+ ‘m’ is a rigid type variable bound by
the type signature for foo :: EQ_ (Maybe m) (Maybe n)
at Simple14.hs:16:15
Expected type: EQ_ z0 z0
Actual type: EQ_ m n
Relevant bindings include
foo :: EQ_ (Maybe m) (Maybe n) (bound at Simple14.hs:17:1)
- In the second argument of ‛eqE’, namely ‛(eqI :: EQ_ m n)’
- In the first argument of ‛ntI’, namely ‛(`eqE` (eqI :: EQ_ m n))’
+ In the second argument of ‘eqE’, namely ‘(eqI :: EQ_ m n)’
+ In the first argument of ‘ntI’, namely ‘(`eqE` (eqI :: EQ_ m n))’
In the expression: ntI (`eqE` (eqI :: EQ_ m n))
diff --git a/testsuite/tests/indexed-types/should_compile/Simple2.stderr b/testsuite/tests/indexed-types/should_compile/Simple2.stderr index 9fd84024a1..11ea628034 100644 --- a/testsuite/tests/indexed-types/should_compile/Simple2.stderr +++ b/testsuite/tests/indexed-types/should_compile/Simple2.stderr @@ -1,31 +1,31 @@ Simple2.hs:21:1: Warning: - No explicit associated type or default declaration for ‛S3n’ - In the instance declaration for ‛C3 Char’ + No explicit associated type or default declaration for ‘S3n’ + In the instance declaration for ‘C3 Char’ Simple2.hs:21:10: Warning: No explicit implementation for - ‛foo3n’ and ‛bar3n’ - In the instance declaration for ‛C3 Char’ + ‘foo3n’ and ‘bar3n’ + In the instance declaration for ‘C3 Char’ Simple2.hs:29:1: Warning: - No explicit associated type or default declaration for ‛S3n’ - In the instance declaration for ‛C3 Bool’ + No explicit associated type or default declaration for ‘S3n’ + In the instance declaration for ‘C3 Bool’ Simple2.hs:29:10: Warning: No explicit implementation for - ‛foo3n’ and ‛bar3n’ - In the instance declaration for ‛C3 Bool’ + ‘foo3n’ and ‘bar3n’ + In the instance declaration for ‘C3 Bool’ Simple2.hs:39:1: Warning: - No explicit associated type or default declaration for ‛S3’ - In the instance declaration for ‛C3 Float’ + No explicit associated type or default declaration for ‘S3’ + In the instance declaration for ‘C3 Float’ Simple2.hs:39:1: Warning: - No explicit associated type or default declaration for ‛S3n’ - In the instance declaration for ‛C3 Float’ + No explicit associated type or default declaration for ‘S3n’ + In the instance declaration for ‘C3 Float’ Simple2.hs:39:10: Warning: No explicit implementation for - ‛foo3n’ and ‛bar3n’ - In the instance declaration for ‛C3 Float’ + ‘foo3n’ and ‘bar3n’ + In the instance declaration for ‘C3 Float’ diff --git a/testsuite/tests/indexed-types/should_compile/T3208b.stderr b/testsuite/tests/indexed-types/should_compile/T3208b.stderr index 228749247b..a210113ea8 100644 --- a/testsuite/tests/indexed-types/should_compile/T3208b.stderr +++ b/testsuite/tests/indexed-types/should_compile/T3208b.stderr @@ -5,15 +5,15 @@ T3208b.hs:15:10: bound by the type signature for fce' :: (OTerm a ~ STerm a, OBJECT a, SUBST a) => a -> c at T3208b.hs:14:9-56 - NB: ‛STerm’ is a type function, and may not be injective - The type variable ‛o0’ is ambiguous + NB: ‘STerm’ is a type function, and may not be injective + The type variable ‘o0’ is ambiguous Expected type: STerm o0 Actual type: OTerm o0 Relevant bindings include f :: a (bound at T3208b.hs:15:6) fce' :: a -> c (bound at T3208b.hs:15:1) In the expression: fce (apply f) - In an equation for ‛fce'’: fce' f = fce (apply f) + In an equation for ‘fce'’: fce' f = fce (apply f) T3208b.hs:15:15: Could not deduce (OTerm o0 ~ STerm a) @@ -21,10 +21,10 @@ T3208b.hs:15:15: bound by the type signature for fce' :: (OTerm a ~ STerm a, OBJECT a, SUBST a) => a -> c at T3208b.hs:14:9-56 - The type variable ‛o0’ is ambiguous + The type variable ‘o0’ is ambiguous Relevant bindings include f :: a (bound at T3208b.hs:15:6) fce' :: a -> c (bound at T3208b.hs:15:1) - In the first argument of ‛fce’, namely ‛(apply f)’ + In the first argument of ‘fce’, namely ‘(apply f)’ In the expression: fce (apply f) - In an equation for ‛fce'’: fce' f = fce (apply f) + In an equation for ‘fce'’: fce' f = fce (apply f) diff --git a/testsuite/tests/indexed-types/should_fail/ClosedFam3.stderr b/testsuite/tests/indexed-types/should_fail/ClosedFam3.stderr index dfbb7dc142..107f5ffec3 100644 --- a/testsuite/tests/indexed-types/should_fail/ClosedFam3.stderr +++ b/testsuite/tests/indexed-types/should_fail/ClosedFam3.stderr @@ -1,6 +1,6 @@ ClosedFam3.hs-boot:5:1: - Type constructor ‛Foo’ has conflicting definitions in the module + Type constructor ‘Foo’ has conflicting definitions in the module and its hs-boot file Main module: type family Foo a :: * where Foo Int = Bool @@ -8,7 +8,7 @@ ClosedFam3.hs-boot:5:1: Boot file: type family Foo a :: * where Foo Int = Bool ClosedFam3.hs-boot:8:1: - Type constructor ‛Bar’ has conflicting definitions in the module + Type constructor ‘Bar’ has conflicting definitions in the module and its hs-boot file Main module: type family Bar a :: * where Bar Int = Bool @@ -18,7 +18,7 @@ ClosedFam3.hs-boot:8:1: Bar Double = Char ClosedFam3.hs-boot:12:1: - Type constructor ‛Baz’ has conflicting definitions in the module + Type constructor ‘Baz’ has conflicting definitions in the module and its hs-boot file Main module: type family Baz a :: * where Baz Int = Bool Boot file: type family Baz (a :: k) :: * where Baz Int = Bool diff --git a/testsuite/tests/indexed-types/should_fail/ClosedFam4.stderr b/testsuite/tests/indexed-types/should_fail/ClosedFam4.stderr index e70ec94a6d..2ba73e19ab 100644 --- a/testsuite/tests/indexed-types/should_fail/ClosedFam4.stderr +++ b/testsuite/tests/indexed-types/should_fail/ClosedFam4.stderr @@ -2,4 +2,4 @@ ClosedFam4.hs:5:1: You may omit the equations in a closed type family only in a .hs-boot file - In the type family declaration for ‛Foo’ + In the type family declaration for ‘Foo’ diff --git a/testsuite/tests/indexed-types/should_fail/DerivUnsatFam.stderr b/testsuite/tests/indexed-types/should_fail/DerivUnsatFam.stderr index 1a54b82974..dbff63583f 100644 --- a/testsuite/tests/indexed-types/should_fail/DerivUnsatFam.stderr +++ b/testsuite/tests/indexed-types/should_fail/DerivUnsatFam.stderr @@ -1,5 +1,5 @@ DerivUnsatFam.hs:8:1:
- Can't make a derived instance of ‛Functor T’:
- No family instance for ‛T’
- In the stand-alone deriving instance for ‛Functor T’
+ Can't make a derived instance of ‘Functor T’:
+ No family instance for ‘T’
+ In the stand-alone deriving instance for ‘Functor T’
diff --git a/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr b/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr index 4b7532c962..8ce4d38b78 100644 --- a/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr +++ b/testsuite/tests/indexed-types/should_fail/ExtraTcsUntch.stderr @@ -1,6 +1,6 @@ ExtraTcsUntch.hs:24:53: - Could not deduce (C [t] [a]) arising from a use of ‛op’ + Could not deduce (C [t] [a]) arising from a use of ‘op’ from the context (F Int ~ [[t]]) bound by the inferred type of f :: F Int ~ [[t]] => [t] -> ((), ((), ())) diff --git a/testsuite/tests/indexed-types/should_fail/GADTwrong1.stderr b/testsuite/tests/indexed-types/should_fail/GADTwrong1.stderr index b12ea50925..dc94b9a7c3 100644 --- a/testsuite/tests/indexed-types/should_fail/GADTwrong1.stderr +++ b/testsuite/tests/indexed-types/should_fail/GADTwrong1.stderr @@ -6,12 +6,12 @@ GADTwrong1.hs:12:19: T :: forall a. a -> T (Const a), in a case alternative at GADTwrong1.hs:12:12-14 - ‛a1’ is a rigid type variable bound by + ‘a1’ is a rigid type variable bound by a pattern with constructor T :: forall a. a -> T (Const a), in a case alternative at GADTwrong1.hs:12:12 - ‛b’ is a rigid type variable bound by + ‘b’ is a rigid type variable bound by the type signature for coerce :: a -> b at GADTwrong1.hs:10:20 Relevant bindings include y :: a1 (bound at GADTwrong1.hs:12:14) diff --git a/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr b/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr index 06a4f0cbe0..1ff540979b 100644 --- a/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr +++ b/testsuite/tests/indexed-types/should_fail/NoMatchErr.stderr @@ -4,11 +4,11 @@ NoMatchErr.hs:19:7: from the context (Fun d) bound by the type signature for f :: Fun d => Memo d a -> Memo d a at NoMatchErr.hs:19:7-37 - NB: ‛Memo’ is a type function, and may not be injective - The type variable ‛d0’ is ambiguous + NB: ‘Memo’ is a type function, and may not be injective + The type variable ‘d0’ is ambiguous Expected type: Memo d a -> Memo d a Actual type: Memo d0 a -> Memo d0 a In the ambiguity check for: forall d a. Fun d => Memo d a -> Memo d a To defer the ambiguity check to use sites, enable AllowAmbiguousTypes - In the type signature for ‛f’: f :: Fun d => Memo d a -> Memo d a + In the type signature for ‘f’: f :: Fun d => Memo d a -> Memo d a diff --git a/testsuite/tests/indexed-types/should_fail/NotRelaxedExamples.stderr b/testsuite/tests/indexed-types/should_fail/NotRelaxedExamples.stderr index b06cae35f7..dd479b7664 100644 --- a/testsuite/tests/indexed-types/should_fail/NotRelaxedExamples.stderr +++ b/testsuite/tests/indexed-types/should_fail/NotRelaxedExamples.stderr @@ -3,16 +3,16 @@ NotRelaxedExamples.hs:9:15: Nested type family application in the type family application: F1 (F1 Char) (Use UndecidableInstances to permit this) - In the type instance declaration for ‛F1’ + In the type instance declaration for ‘F1’ NotRelaxedExamples.hs:10:15: Application is no smaller than the instance head in the type family application: F2 [x] (Use UndecidableInstances to permit this) - In the type instance declaration for ‛F2’ + In the type instance declaration for ‘F2’ NotRelaxedExamples.hs:11:15: Application is no smaller than the instance head in the type family application: F3 [Char] (Use UndecidableInstances to permit this) - In the type instance declaration for ‛F3’ + In the type instance declaration for ‘F3’ diff --git a/testsuite/tests/indexed-types/should_fail/Overlap10.stderr b/testsuite/tests/indexed-types/should_fail/Overlap10.stderr index aad494e1a8..5a53870eff 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap10.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap10.stderr @@ -1,8 +1,8 @@ Overlap10.hs:10:7: - Couldn't match expected type ‛F a Bool’ with actual type ‛Bool’ + Couldn't match expected type ‘F a Bool’ with actual type ‘Bool’ Relevant bindings include x :: a (bound at Overlap10.hs:10:3) g :: a -> F a Bool (bound at Overlap10.hs:10:1) In the expression: False - In an equation for ‛g’: g x = False + In an equation for ‘g’: g x = False diff --git a/testsuite/tests/indexed-types/should_fail/Overlap11.stderr b/testsuite/tests/indexed-types/should_fail/Overlap11.stderr index 4dc7407e89..6e3286eb27 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap11.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap11.stderr @@ -1,8 +1,8 @@ Overlap11.hs:10:8: - Couldn't match expected type ‛F a Int’ with actual type ‛Int’ + Couldn't match expected type ‘F a Int’ with actual type ‘Int’ Relevant bindings include x :: a (bound at Overlap11.hs:10:3) g :: a -> F a Int (bound at Overlap11.hs:10:1) In the expression: (5 :: Int) - In an equation for ‛g’: g x = (5 :: Int) + In an equation for ‘g’: g x = (5 :: Int) diff --git a/testsuite/tests/indexed-types/should_fail/Overlap15.stderr b/testsuite/tests/indexed-types/should_fail/Overlap15.stderr index bafe63c61e..a24504caa4 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap15.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap15.stderr @@ -1,7 +1,7 @@ Overlap15.hs:16:9:
- Couldn't match expected type ‛F b [b] Bool’ with actual type ‛Bool’
+ Couldn't match expected type ‘F b [b] Bool’ with actual type ‘Bool’
Relevant bindings include
foo :: Proxy b -> F b [b] Bool (bound at Overlap15.hs:16:1)
In the expression: False
- In an equation for ‛foo’: foo _ = False
+ In an equation for ‘foo’: foo _ = False
diff --git a/testsuite/tests/indexed-types/should_fail/Overlap3.stderr b/testsuite/tests/indexed-types/should_fail/Overlap3.stderr index c8d1b5ef80..5659fd1875 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap3.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap3.stderr @@ -1,4 +1,4 @@ Overlap3.hs:8:1: - Illegal instance for closed family ‛F’ - In the type instance declaration for ‛F’ + Illegal instance for closed family ‘F’ + In the type instance declaration for ‘F’ diff --git a/testsuite/tests/indexed-types/should_fail/Overlap4.stderr b/testsuite/tests/indexed-types/should_fail/Overlap4.stderr index 329b1ee11a..d64036c4bc 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap4.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap4.stderr @@ -1,5 +1,5 @@ Overlap4.hs:7:3: Number of parameters must match family declaration; expected 2 - In the equations for closed type family ‛F’ - In the type family declaration for ‛F’ + In the equations for closed type family ‘F’ + In the type family declaration for ‘F’ diff --git a/testsuite/tests/indexed-types/should_fail/Overlap5.stderr b/testsuite/tests/indexed-types/should_fail/Overlap5.stderr index 201dc416c1..3adf2f3c3e 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap5.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap5.stderr @@ -2,4 +2,4 @@ Overlap5.hs:8:3: Mismatched type names in closed type family declaration. First name was F; this one is G - In the family declaration for ‛F’ + In the family declaration for ‘F’ diff --git a/testsuite/tests/indexed-types/should_fail/Overlap6.stderr b/testsuite/tests/indexed-types/should_fail/Overlap6.stderr index a0167bc2de..209e2af3e3 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap6.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap6.stderr @@ -1,7 +1,7 @@ Overlap6.hs:15:7:
- Couldn't match type ‛x’ with ‛And x 'True’
- ‛x’ is a rigid type variable bound by
+ Couldn't match type ‘x’ with ‘And x 'True’
+ ‘x’ is a rigid type variable bound by
the type signature for g :: Proxy x -> Proxy (And x 'True)
at Overlap6.hs:14:6
Expected type: Proxy (And x 'True)
@@ -10,4 +10,4 @@ Overlap6.hs:15:7: x :: Proxy x (bound at Overlap6.hs:15:3)
g :: Proxy x -> Proxy (And x 'True) (bound at Overlap6.hs:15:1)
In the expression: x
- In an equation for ‛g’: g x = x
+ In an equation for ‘g’: g x = x
diff --git a/testsuite/tests/indexed-types/should_fail/Overlap7.stderr b/testsuite/tests/indexed-types/should_fail/Overlap7.stderr index 2858f792b2..179251d5a2 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap7.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap7.stderr @@ -1,4 +1,4 @@ Overlap7.hs:8:1: - Illegal instance for closed family ‛F’ - In the type instance declaration for ‛F’ + Illegal instance for closed family ‘F’ + In the type instance declaration for ‘F’ diff --git a/testsuite/tests/indexed-types/should_fail/Overlap9.stderr b/testsuite/tests/indexed-types/should_fail/Overlap9.stderr index 69f37f1137..92cf6202de 100644 --- a/testsuite/tests/indexed-types/should_fail/Overlap9.stderr +++ b/testsuite/tests/indexed-types/should_fail/Overlap9.stderr @@ -8,4 +8,4 @@ Overlap9.hs:10:7: x :: a (bound at Overlap9.hs:10:3) g :: a -> F a (bound at Overlap9.hs:10:1) In the expression: length (show x) - In an equation for ‛g’: g x = length (show x) + In an equation for ‘g’: g x = length (show x) diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr index e93b4f4d1e..11664e67bd 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail12.stderr @@ -1,4 +1,4 @@ SimpleFail12.hs:8:15: Illegal polymorphic or qualified type: forall a. [a] - In the type instance declaration for ‛C’ + In the type instance declaration for ‘C’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail13.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail13.stderr index a31dda6b8b..6cb6fe0e50 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail13.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail13.stderr @@ -1,8 +1,8 @@ SimpleFail13.hs:9:1: Illegal type synonym family application in instance: [C a] - In the data instance declaration for ‛D’ + In the data instance declaration for ‘D’ SimpleFail13.hs:13:15: Illegal type synonym family application in instance: [C a] - In the type instance declaration for ‛E’ + In the type instance declaration for ‘E’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail14.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail14.stderr index b6015046f7..666f725ff1 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail14.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail14.stderr @@ -1,6 +1,6 @@ SimpleFail14.hs:5:15: - Expected a type, but ‛a ~ a’ has kind ‛Constraint’ - In the type ‛a ~ a’ - In the definition of data constructor ‛T’ - In the data declaration for ‛T’ + Expected a type, but ‘a ~ a’ has kind ‘Constraint’ + In the type ‘a ~ a’ + In the definition of data constructor ‘T’ + In the data declaration for ‘T’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr index 1b1d03c2e5..c54ba1697d 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail15.stderr @@ -2,5 +2,5 @@ SimpleFail15.hs:5:8: Illegal polymorphic or qualified type: a ~ b => t Perhaps you intended to use RankNTypes or Rank2Types - In the type signature for ‛foo’: + In the type signature for ‘foo’: foo :: (a, b) -> (a ~ b => t) -> (a, b) diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail16.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail16.stderr index 1e50ae1c3c..0d663a6497 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail16.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail16.stderr @@ -1,9 +1,9 @@ SimpleFail16.hs:10:12: - Couldn't match expected type ‛p0 a0’ with actual type ‛F ()’ - The type variables ‛p0’, ‛a0’ are ambiguous + Couldn't match expected type ‘p0 a0’ with actual type ‘F ()’ + The type variables ‘p0’, ‘a0’ are ambiguous Relevant bindings include bar :: p0 a0 (bound at SimpleFail16.hs:10:1) - In the first argument of ‛foo’, namely ‛(undefined :: F ())’ + In the first argument of ‘foo’, namely ‘(undefined :: F ())’ In the expression: foo (undefined :: F ()) - In an equation for ‛bar’: bar = foo (undefined :: F ()) + In an equation for ‘bar’: bar = foo (undefined :: F ()) diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail1a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail1a.stderr index 2e7b982a6b..8318927522 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail1a.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail1a.stderr @@ -1,4 +1,4 @@ SimpleFail1a.hs:4:1: - Couldn't match kind ‛* -> *’ against ‛*’ - In the data instance declaration for ‛T1’ + Couldn't match kind ‘* -> *’ against ‘*’ + In the data instance declaration for ‘T1’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail1b.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail1b.stderr index 8a3f5dfbcd..e1059a430b 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail1b.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail1b.stderr @@ -1,4 +1,4 @@ SimpleFail1b.hs:4:1: Number of parameters must match family declaration; expected no more than 2 - In the data instance declaration for ‛T1’ + In the data instance declaration for ‘T1’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail2a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail2a.stderr index 5d058756a3..30a06a3eb3 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail2a.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail2a.stderr @@ -1,6 +1,6 @@ SimpleFail2a.hs:11:3: Type indexes must match class instance head - Found ‛a’ but expected ‛Int’ - In the data instance declaration for ‛Sd’ - In the instance declaration for ‛C Int’ + Found ‘a’ but expected ‘Int’ + In the data instance declaration for ‘Sd’ + In the instance declaration for ‘C Int’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail3a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail3a.stderr index cdf4251318..7db6f3b91a 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail3a.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail3a.stderr @@ -1,5 +1,5 @@ SimpleFail3a.hs:10:3: Wrong category of family instance; declaration was for a data type - In the type instance declaration for ‛S1’ - In the instance declaration for ‛C1 Int’ + In the type instance declaration for ‘S1’ + In the instance declaration for ‘C1 Int’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail4.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail4.stderr index b9d99df243..91a3eb282a 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail4.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail4.stderr @@ -1,6 +1,6 @@ SimpleFail4.hs:8:8: Type indexes must match class instance head - Found ‛Int’ but expected ‛a’ - In the type synonym instance default declaration for ‛S2’ - In the class declaration for ‛C2’ + Found ‘Int’ but expected ‘a’ + In the type synonym instance default declaration for ‘S2’ + In the class declaration for ‘C2’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr index 8cadf52b49..dc88c87c74 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail5a.stderr @@ -1,7 +1,7 @@ SimpleFail5a.hs:31:11: - Couldn't match type ‛a’ with ‛Int’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘Int’ + ‘a’ is a rigid type variable bound by the type signature for bar3wrong :: S3 a -> a at SimpleFail5a.hs:30:14 Expected type: S3 a @@ -9,4 +9,4 @@ SimpleFail5a.hs:31:11: Relevant bindings include bar3wrong :: S3 a -> a (bound at SimpleFail5a.hs:31:1) In the pattern: D3Int - In an equation for ‛bar3wrong’: bar3wrong D3Int = 1 + In an equation for ‘bar3wrong’: bar3wrong D3Int = 1 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail5b.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail5b.stderr index 2861582d97..0dfd570cc0 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail5b.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail5b.stderr @@ -1,7 +1,7 @@ SimpleFail5b.hs:31:12: - Couldn't match type ‛Char’ with ‛Int’ + Couldn't match type ‘Char’ with ‘Int’ Expected type: S3 Int Actual type: S3 Char In the pattern: D3Char - In an equation for ‛bar3wrong'’: bar3wrong' D3Char = 'a' + In an equation for ‘bar3wrong'’: bar3wrong' D3Char = 'a' diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail6.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail6.stderr index 71e9e56668..6b12656863 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail6.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail6.stderr @@ -1,5 +1,5 @@ SimpleFail6.hs:7:11: - Conflicting definitions for ‛a’ + Conflicting definitions for ‘a’ Bound at: SimpleFail6.hs:7:11 SimpleFail6.hs:7:13 diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail7.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail7.stderr index 4778f0dcc3..643709ec7e 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail7.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail7.stderr @@ -1,4 +1,4 @@ SimpleFail7.hs:8:1: - Associated type ‛S5’ must be inside a class instance - In the data instance declaration for ‛S5’ + Associated type ‘S5’ must be inside a class instance + In the data instance declaration for ‘S5’ diff --git a/testsuite/tests/indexed-types/should_fail/SimpleFail8.stderr b/testsuite/tests/indexed-types/should_fail/SimpleFail8.stderr index ae25f9da56..ea54a4a862 100644 --- a/testsuite/tests/indexed-types/should_fail/SimpleFail8.stderr +++ b/testsuite/tests/indexed-types/should_fail/SimpleFail8.stderr @@ -1,6 +1,6 @@ SimpleFail8.hs:9:8: - ‛Map’ is not a (visible) associated type of class ‛C6’ + ‘Map’ is not a (visible) associated type of class ‘C6’ SimpleFail8.hs:10:8: - ‛S3’ is not a (visible) associated type of class ‛C6’ + ‘S3’ is not a (visible) associated type of class ‘C6’ diff --git a/testsuite/tests/indexed-types/should_fail/T1897b.stderr b/testsuite/tests/indexed-types/should_fail/T1897b.stderr index 5bb6ef1650..06d81a146b 100644 --- a/testsuite/tests/indexed-types/should_fail/T1897b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T1897b.stderr @@ -2,13 +2,13 @@ T1897b.hs:16:1: Could not deduce (Depend a0 ~ Depend a) from the context (Bug a) - bound by the inferred type for ‛isValid’: + bound by the inferred type for ‘isValid’: Bug a => [Depend a] -> Bool at T1897b.hs:16:1-41 - NB: ‛Depend’ is a type function, and may not be injective - The type variable ‛a0’ is ambiguous + NB: ‘Depend’ is a type function, and may not be injective + The type variable ‘a0’ is ambiguous Expected type: [Depend a] -> Bool Actual type: [Depend a0] -> Bool - When checking that ‛isValid’ - has the inferred type ‛forall a. Bug a => [Depend a] -> Bool’ + When checking that ‘isValid’ + has the inferred type ‘forall a. Bug a => [Depend a] -> Bool’ Probable cause: the inferred type is ambiguous diff --git a/testsuite/tests/indexed-types/should_fail/T1900.stderr b/testsuite/tests/indexed-types/should_fail/T1900.stderr index 896a441b5a..435d5e8312 100644 --- a/testsuite/tests/indexed-types/should_fail/T1900.stderr +++ b/testsuite/tests/indexed-types/should_fail/T1900.stderr @@ -4,11 +4,11 @@ T1900.hs:13:10: from the context (Bug s) bound by the type signature for check :: Bug s => Depend s -> Bool at T1900.hs:13:10-36 - NB: ‛Depend’ is a type function, and may not be injective - The type variable ‛s0’ is ambiguous + NB: ‘Depend’ is a type function, and may not be injective + The type variable ‘s0’ is ambiguous Expected type: Depend s -> Bool Actual type: Depend s0 -> Bool In the ambiguity check for: forall s. Bug s => Depend s -> Bool To defer the ambiguity check to use sites, enable AllowAmbiguousTypes - In the type signature for ‛check’: + In the type signature for ‘check’: check :: Bug s => Depend s -> Bool diff --git a/testsuite/tests/indexed-types/should_fail/T2157.stderr b/testsuite/tests/indexed-types/should_fail/T2157.stderr index 0f6f272de9..13d436ae43 100644 --- a/testsuite/tests/indexed-types/should_fail/T2157.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2157.stderr @@ -1,4 +1,4 @@ T2157.hs:7:15: - Type synonym ‛S’ should have 2 arguments, but has been given 1 - In the type instance declaration for ‛F’ + Type synonym ‘S’ should have 2 arguments, but has been given 1 + In the type instance declaration for ‘F’ diff --git a/testsuite/tests/indexed-types/should_fail/T2203a.stderr b/testsuite/tests/indexed-types/should_fail/T2203a.stderr index 67390f298f..f6e7f31d3c 100644 --- a/testsuite/tests/indexed-types/should_fail/T2203a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2203a.stderr @@ -2,4 +2,4 @@ T2203a.hs:13:19: Illegal type synonym family application in instance: Either a (TheFoo a) - In the instance declaration for ‛Bar (Either a (TheFoo a))’ + In the instance declaration for ‘Bar (Either a (TheFoo a))’ diff --git a/testsuite/tests/indexed-types/should_fail/T2239.stderr b/testsuite/tests/indexed-types/should_fail/T2239.stderr index b322d9f06d..4a223ae8cb 100644 --- a/testsuite/tests/indexed-types/should_fail/T2239.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2239.stderr @@ -1,28 +1,28 @@ T2239.hs:47:13: - Couldn't match type ‛b -> b’ - with ‛forall b1. MyEq b1 Bool => b1 -> b1’ + Couldn't match type ‘b -> b’ + with ‘forall b1. MyEq b1 Bool => b1 -> b1’ Expected type: (forall b1. MyEq b1 Bool => b1 -> b1) -> b -> b Actual type: (b -> b) -> b -> b In the expression: id :: (forall b. MyEq b Bool => b -> b) -> (forall b. MyEq b Bool => b -> b) - In an equation for ‛complexFD’: + In an equation for ‘complexFD’: complexFD = id :: (forall b. MyEq b Bool => b -> b) -> (forall b. MyEq b Bool => b -> b) T2239.hs:50:13: - Couldn't match type ‛Bool -> Bool’ - with ‛forall b1. b1 ~ Bool => b1 -> b1’ + Couldn't match type ‘Bool -> Bool’ + with ‘forall b1. b1 ~ Bool => b1 -> b1’ Expected type: (forall b1. b1 ~ Bool => b1 -> b1) -> b -> b Actual type: (b -> b) -> b -> b In the expression: id :: (forall b. b ~ Bool => b -> b) -> (forall b. b ~ Bool => b -> b) - In an equation for ‛complexTF’: + In an equation for ‘complexTF’: complexTF = id :: (forall b. b ~ Bool => b -> b) -> (forall b. b ~ Bool => b -> b) diff --git a/testsuite/tests/indexed-types/should_fail/T2334A.stderr b/testsuite/tests/indexed-types/should_fail/T2334A.stderr index ff4e35206f..6b4197bfb4 100644 --- a/testsuite/tests/indexed-types/should_fail/T2334A.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2334A.stderr @@ -1,15 +1,15 @@ T2334A.hs:9:26: The constructor of a newtype must have exactly one field - but ‛F’ has two - In the definition of data constructor ‛F’ - In the newtype instance declaration for ‛F’ + but ‘F’ has two + In the definition of data constructor ‘F’ + In the newtype instance declaration for ‘F’ T2334A.hs:10:27: The constructor of a newtype must have exactly one field - but ‛H’ has none - In the definition of data constructor ‛H’ - In the newtype instance declaration for ‛F’ + but ‘H’ has none + In the definition of data constructor ‘H’ + In the newtype instance declaration for ‘F’ T2334A.hs:12:15: Conflicting family instance declarations: diff --git a/testsuite/tests/indexed-types/should_fail/T2544.stderr b/testsuite/tests/indexed-types/should_fail/T2544.stderr index a068ef3268..244580f922 100644 --- a/testsuite/tests/indexed-types/should_fail/T2544.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2544.stderr @@ -3,24 +3,24 @@ T2544.hs:15:18: Could not deduce (IxMap i0 ~ IxMap l) from the context (Ix l, Ix r) bound by the instance declaration at T2544.hs:13:10-37 - NB: ‛IxMap’ is a type function, and may not be injective - The type variable ‛i0’ is ambiguous + NB: ‘IxMap’ is a type function, and may not be injective + The type variable ‘i0’ is ambiguous Expected type: IxMap l [Int] Actual type: IxMap i0 [Int] Relevant bindings include empty :: IxMap (l :|: r) [Int] (bound at T2544.hs:15:4) - In the first argument of ‛BiApp’, namely ‛empty’ + In the first argument of ‘BiApp’, namely ‘empty’ In the expression: BiApp empty empty T2544.hs:15:24: Could not deduce (IxMap i1 ~ IxMap r) from the context (Ix l, Ix r) bound by the instance declaration at T2544.hs:13:10-37 - NB: ‛IxMap’ is a type function, and may not be injective - The type variable ‛i1’ is ambiguous + NB: ‘IxMap’ is a type function, and may not be injective + The type variable ‘i1’ is ambiguous Expected type: IxMap r [Int] Actual type: IxMap i1 [Int] Relevant bindings include empty :: IxMap (l :|: r) [Int] (bound at T2544.hs:15:4) - In the second argument of ‛BiApp’, namely ‛empty’ + In the second argument of ‘BiApp’, namely ‘empty’ In the expression: BiApp empty empty diff --git a/testsuite/tests/indexed-types/should_fail/T2627b.stderr b/testsuite/tests/indexed-types/should_fail/T2627b.stderr index 61399d02dd..2cb51a9fad 100644 --- a/testsuite/tests/indexed-types/should_fail/T2627b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2627b.stderr @@ -2,7 +2,7 @@ T2627b.hs:20:24: Occurs check: cannot construct the infinite type: a0 ~ Dual (Dual a0) - The type variable ‛a0’ is ambiguous + The type variable ‘a0’ is ambiguous In the expression: conn undefined undefined - In an equation for ‛conn’: + In an equation for ‘conn’: conn (Rd k) (Wr a r) = conn undefined undefined diff --git a/testsuite/tests/indexed-types/should_fail/T2664.stderr b/testsuite/tests/indexed-types/should_fail/T2664.stderr index a8d24c816f..4104eb58c4 100644 --- a/testsuite/tests/indexed-types/should_fail/T2664.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2664.stderr @@ -8,16 +8,16 @@ T2664.hs:31:52: newPChan :: ((a :*: b) ~ Dual c, c ~ Dual (a :*: b)) => IO (PChan (a :*: b), PChan c) at T2664.hs:23:5-12 - ‛b’ is a rigid type variable bound by + ‘b’ is a rigid type variable bound by the instance declaration at T2664.hs:22:10 - ‛a’ is a rigid type variable bound by + ‘a’ is a rigid type variable bound by the instance declaration at T2664.hs:22:10 Expected type: Dual (Dual a) Actual type: b Relevant bindings include v :: MVar (Either (PChan a) (PChan b)) (bound at T2664.hs:24:9) newPChan :: IO (PChan (a :*: b), PChan c) (bound at T2664.hs:23:5) - In the third argument of ‛pchoose’, namely ‛newPChan’ - In the first argument of ‛E’, namely ‛(pchoose Right v newPChan)’ + In the third argument of ‘pchoose’, namely ‘newPChan’ + In the first argument of ‘E’, namely ‘(pchoose Right v newPChan)’ In the expression: E (pchoose Right v newPChan) (pchoose Left v newPChan) diff --git a/testsuite/tests/indexed-types/should_fail/T2693.stderr b/testsuite/tests/indexed-types/should_fail/T2693.stderr index 34fdfbde74..58b27696ea 100644 --- a/testsuite/tests/indexed-types/should_fail/T2693.stderr +++ b/testsuite/tests/indexed-types/should_fail/T2693.stderr @@ -1,37 +1,37 @@ T2693.hs:11:7: - Couldn't match expected type ‛TFn a’ with actual type ‛TFn a0’ - NB: ‛TFn’ is a type function, and may not be injective - The type variable ‛a0’ is ambiguous - When checking that ‛x’ has the inferred type ‛forall a. TFn a’ + Couldn't match expected type ‘TFn a’ with actual type ‘TFn a0’ + NB: ‘TFn’ is a type function, and may not be injective + The type variable ‘a0’ is ambiguous + When checking that ‘x’ has the inferred type ‘forall a. TFn a’ Probable cause: the inferred type is ambiguous In the expression: do { let Just x = ...; let n = fst x + fst x; return () } - In an equation for ‛f’: + In an equation for ‘f’: f = do { let Just x = ...; let n = ...; return () } T2693.hs:19:15: - Couldn't match expected type ‛(a2, b0)’ with actual type ‛TFn a3’ - The type variables ‛a2’, ‛b0’, ‛a3’ are ambiguous + Couldn't match expected type ‘(a2, b0)’ with actual type ‘TFn a3’ + The type variables ‘a2’, ‘b0’, ‘a3’ are ambiguous Relevant bindings include n :: a2 (bound at T2693.hs:19:7) - In the first argument of ‛fst’, namely ‛x’ - In the first argument of ‛(+)’, namely ‛fst x’ + In the first argument of ‘fst’, namely ‘x’ + In the first argument of ‘(+)’, namely ‘fst x’ T2693.hs:19:23: - Couldn't match expected type ‛(a4, a2)’ with actual type ‛TFn a5’ - The type variables ‛a2’, ‛a4’, ‛a5’ are ambiguous + Couldn't match expected type ‘(a4, a2)’ with actual type ‘TFn a5’ + The type variables ‘a2’, ‘a4’, ‘a5’ are ambiguous Relevant bindings include n :: a2 (bound at T2693.hs:19:7) - In the first argument of ‛snd’, namely ‛x’ - In the second argument of ‛(+)’, namely ‛snd x’ + In the first argument of ‘snd’, namely ‘x’ + In the second argument of ‘(+)’, namely ‘snd x’ T2693.hs:29:20: - Couldn't match type ‛TFn a0’ with ‛PVR a1’ - The type variables ‛a0’, ‛a1’ are ambiguous + Couldn't match type ‘TFn a0’ with ‘PVR a1’ + The type variables ‘a0’, ‘a1’ are ambiguous Expected type: () -> Maybe (PVR a1) Actual type: () -> Maybe (TFn a0) - In the first argument of ‛mapM’, namely ‛g’ + In the first argument of ‘mapM’, namely ‘g’ In a stmt of a 'do' block: pvs <- mapM g undefined diff --git a/testsuite/tests/indexed-types/should_fail/T3092.stderr b/testsuite/tests/indexed-types/should_fail/T3092.stderr index 436db19f81..141945c781 100644 --- a/testsuite/tests/indexed-types/should_fail/T3092.stderr +++ b/testsuite/tests/indexed-types/should_fail/T3092.stderr @@ -1,10 +1,10 @@ T3092.hs:5:1: - Illegal family instance for ‛T’ + Illegal family instance for ‘T’ (T is not an indexed type family) - In the data instance declaration for ‛T’ + In the data instance declaration for ‘T’ T3092.hs:8:1: - Illegal family instance for ‛S’ + Illegal family instance for ‘S’ (S is not an indexed type family) - In the type instance declaration for ‛S’ + In the type instance declaration for ‘S’ diff --git a/testsuite/tests/indexed-types/should_fail/T3330a.stderr b/testsuite/tests/indexed-types/should_fail/T3330a.stderr index 8f7813c5f8..4596f9b7a6 100644 --- a/testsuite/tests/indexed-types/should_fail/T3330a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T3330a.stderr @@ -1,7 +1,7 @@ T3330a.hs:19:34: - Couldn't match type ‛s’ with ‛(->) (s0 ix0 -> ix1)’ - ‛s’ is a rigid type variable bound by + Couldn't match type ‘s’ with ‘(->) (s0 ix0 -> ix1)’ + ‘s’ is a rigid type variable bound by the type signature for children :: s ix -> PF s r ix -> [AnyF s] at T3330a.hs:18:13 Expected type: (s0 ix0 -> ix1) @@ -11,12 +11,12 @@ T3330a.hs:19:34: x :: PF s r ix (bound at T3330a.hs:19:12) p :: s ix (bound at T3330a.hs:19:10) children :: s ix -> PF s r ix -> [AnyF s] (bound at T3330a.hs:19:1) - In the first argument of ‛hmapM’, namely ‛p’ - In the first argument of ‛execWriter’, namely ‛(hmapM p collect x)’ + In the first argument of ‘hmapM’, namely ‘p’ + In the first argument of ‘execWriter’, namely ‘(hmapM p collect x)’ T3330a.hs:19:34: - Couldn't match type ‛ix’ with ‛r ix1 -> Writer [AnyF s] (r'0 ix1)’ - ‛ix’ is a rigid type variable bound by + Couldn't match type ‘ix’ with ‘r ix1 -> Writer [AnyF s] (r'0 ix1)’ + ‘ix’ is a rigid type variable bound by the type signature for children :: s ix -> PF s r ix -> [AnyF s] at T3330a.hs:18:13 Expected type: (s0 ix0 -> ix1) @@ -26,12 +26,12 @@ T3330a.hs:19:34: x :: PF s r ix (bound at T3330a.hs:19:12) p :: s ix (bound at T3330a.hs:19:10) children :: s ix -> PF s r ix -> [AnyF s] (bound at T3330a.hs:19:1) - In the first argument of ‛hmapM’, namely ‛p’ - In the first argument of ‛execWriter’, namely ‛(hmapM p collect x)’ + In the first argument of ‘hmapM’, namely ‘p’ + In the first argument of ‘execWriter’, namely ‘(hmapM p collect x)’ T3330a.hs:19:44: - Couldn't match type ‛ix’ with ‛r0 ix0 -> Writer [AnyF s0] (r0 ix0)’ - ‛ix’ is a rigid type variable bound by + Couldn't match type ‘ix’ with ‘r0 ix0 -> Writer [AnyF s0] (r0 ix0)’ + ‘ix’ is a rigid type variable bound by the type signature for children :: s ix -> PF s r ix -> [AnyF s] at T3330a.hs:18:13 Expected type: PF s r (r0 ix0 -> Writer [AnyF s0] (r0 ix0)) @@ -40,5 +40,5 @@ T3330a.hs:19:44: x :: PF s r ix (bound at T3330a.hs:19:12) p :: s ix (bound at T3330a.hs:19:10) children :: s ix -> PF s r ix -> [AnyF s] (bound at T3330a.hs:19:1) - In the third argument of ‛hmapM’, namely ‛x’ - In the first argument of ‛execWriter’, namely ‛(hmapM p collect x)’ + In the third argument of ‘hmapM’, namely ‘x’ + In the first argument of ‘execWriter’, namely ‘(hmapM p collect x)’ diff --git a/testsuite/tests/indexed-types/should_fail/T3330c.stderr b/testsuite/tests/indexed-types/should_fail/T3330c.stderr index 3e938c5705..f9108f2849 100644 --- a/testsuite/tests/indexed-types/should_fail/T3330c.stderr +++ b/testsuite/tests/indexed-types/should_fail/T3330c.stderr @@ -5,13 +5,13 @@ T3330c.hs:23:43: bound by a pattern with constructor RSum :: forall (f :: * -> *) (g :: * -> *). R f -> R g -> R (f :+: g), - in an equation for ‛plug'’ + in an equation for ‘plug'’ at T3330c.hs:23:8-17 - ‛f1’ is a rigid type variable bound by + ‘f1’ is a rigid type variable bound by a pattern with constructor RSum :: forall (f :: * -> *) (g :: * -> *). R f -> R g -> R (f :+: g), - in an equation for ‛plug'’ + in an equation for ‘plug'’ at T3330c.hs:23:8 Expected type: Der ((->) x) (f1 x) Actual type: R f1 @@ -20,5 +20,5 @@ T3330c.hs:23:43: df :: f1 x (bound at T3330c.hs:23:25) rf :: R f1 (bound at T3330c.hs:23:13) plug' :: R f -> Der f x -> x -> f x (bound at T3330c.hs:23:1) - In the first argument of ‛plug’, namely ‛rf’ - In the first argument of ‛Inl’, namely ‛(plug rf df x)’ + In the first argument of ‘plug’, namely ‘rf’ + In the first argument of ‘Inl’, namely ‘(plug rf df x)’ diff --git a/testsuite/tests/indexed-types/should_fail/T3440.stderr b/testsuite/tests/indexed-types/should_fail/T3440.stderr index b01594951f..5e8c7b4f2b 100644 --- a/testsuite/tests/indexed-types/should_fail/T3440.stderr +++ b/testsuite/tests/indexed-types/should_fail/T3440.stderr @@ -4,14 +4,14 @@ T3440.hs:11:22: from the context (Fam a ~ Fam a1) bound by a pattern with constructor GADT :: forall a. a -> Fam a -> GADT (Fam a), - in an equation for ‛unwrap’ + in an equation for ‘unwrap’ at T3440.hs:11:9-16 - ‛a1’ is a rigid type variable bound by + ‘a1’ is a rigid type variable bound by a pattern with constructor GADT :: forall a. a -> Fam a -> GADT (Fam a), - in an equation for ‛unwrap’ + in an equation for ‘unwrap’ at T3440.hs:11:9 - ‛a’ is a rigid type variable bound by + ‘a’ is a rigid type variable bound by the type signature for unwrap :: GADT (Fam a) -> (a, Fam a) at T3440.hs:10:11 Relevant bindings include diff --git a/testsuite/tests/indexed-types/should_fail/T4093a.stderr b/testsuite/tests/indexed-types/should_fail/T4093a.stderr index 8dfd987b36..e8b7749871 100644 --- a/testsuite/tests/indexed-types/should_fail/T4093a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4093a.stderr @@ -4,11 +4,11 @@ T4093a.hs:8:8: from the context (Foo e ~ Maybe e) bound by the type signature for hang :: Foo e ~ Maybe e => Foo e at T4093a.hs:7:9-34 - ‛e’ is a rigid type variable bound by + ‘e’ is a rigid type variable bound by the type signature for hang :: Foo e ~ Maybe e => Foo e at T4093a.hs:7:9 Expected type: Foo e Actual type: Maybe () Relevant bindings include hang :: Foo e (bound at T4093a.hs:8:1) In the expression: Just () - In an equation for ‛hang’: hang = Just () + In an equation for ‘hang’: hang = Just () diff --git a/testsuite/tests/indexed-types/should_fail/T4093b.stderr b/testsuite/tests/indexed-types/should_fail/T4093b.stderr index 8d5f80108e..7fedfa64d3 100644 --- a/testsuite/tests/indexed-types/should_fail/T4093b.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4093b.stderr @@ -8,7 +8,7 @@ T4093b.hs:31:13: EitherCO x (A C C n) (A C O n) ~ A C x n) => Block n e x -> A e x n at T4093b.hs:(20,3)-(22,26) - ‛e’ is a rigid type variable bound by + ‘e’ is a rigid type variable bound by the type signature for blockToNodeList :: (EitherCO e (A C O n) (A O O n) ~ A e O n, EitherCO x (A C C n) (A C O n) ~ A C x n) => @@ -26,8 +26,8 @@ T4093b.hs:31:13: b :: Block n e x (bound at T4093b.hs:25:17) blockToNodeList :: Block n e x -> A e x n (bound at T4093b.hs:25:1) In the expression: (JustC n, NothingC) - In an equation for ‛f’: f n _ = (JustC n, NothingC) - In an equation for ‛blockToNodeList’: + In an equation for ‘f’: f n _ = (JustC n, NothingC) + In an equation for ‘blockToNodeList’: blockToNodeList b = foldBlockNodesF (f, l) b z where diff --git a/testsuite/tests/indexed-types/should_fail/T4099.stderr b/testsuite/tests/indexed-types/should_fail/T4099.stderr index 1b21b930d9..a16223254d 100644 --- a/testsuite/tests/indexed-types/should_fail/T4099.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4099.stderr @@ -1,21 +1,21 @@ T4099.hs:11:30: - Couldn't match expected type ‛T a0’ with actual type ‛T b’ - NB: ‛T’ is a type function, and may not be injective - The type variable ‛a0’ is ambiguous + Couldn't match expected type ‘T a0’ with actual type ‘T b’ + NB: ‘T’ is a type function, and may not be injective + The type variable ‘a0’ is ambiguous Relevant bindings include x :: T b (bound at T4099.hs:11:8) a :: b (bound at T4099.hs:11:6) bar1 :: b -> T b -> Int (bound at T4099.hs:11:1) - In the second argument of ‛foo’, namely ‛x’ + In the second argument of ‘foo’, namely ‘x’ In the expression: foo (error "urk") x T4099.hs:14:30: - Couldn't match expected type ‛T a1’ with actual type ‛Maybe b’ - The type variable ‛a1’ is ambiguous + Couldn't match expected type ‘T a1’ with actual type ‘Maybe b’ + The type variable ‘a1’ is ambiguous Relevant bindings include x :: Maybe b (bound at T4099.hs:14:8) a :: b (bound at T4099.hs:14:6) bar2 :: b -> Maybe b -> Int (bound at T4099.hs:14:1) - In the second argument of ‛foo’, namely ‛x’ + In the second argument of ‘foo’, namely ‘x’ In the expression: foo (error "urk") x diff --git a/testsuite/tests/indexed-types/should_fail/T4174.stderr b/testsuite/tests/indexed-types/should_fail/T4174.stderr index 5547b25979..19d3e8d3e0 100644 --- a/testsuite/tests/indexed-types/should_fail/T4174.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4174.stderr @@ -1,7 +1,7 @@ T4174.hs:42:12: - Couldn't match type ‛False’ with ‛True’ + Couldn't match type ‘False’ with ‘True’ Expected type: True Actual type: GHCVersion (WayOf m) :>=: GHC6'10 Minor1 In the expression: sync_large_objects - In an equation for ‛testcase’: testcase = sync_large_objects + In an equation for ‘testcase’: testcase = sync_large_objects diff --git a/testsuite/tests/indexed-types/should_fail/T4179.stderr b/testsuite/tests/indexed-types/should_fail/T4179.stderr index 4ab033d7eb..40fb84d83a 100644 --- a/testsuite/tests/indexed-types/should_fail/T4179.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4179.stderr @@ -7,7 +7,7 @@ T4179.hs:26:16: fCon :: (Functor x, DoC (FCon x)) => Con x -> A2 (FCon x) -> A3 (FCon x) at T4179.hs:25:9-72 - NB: ‛A3’ is a type function, and may not be injective + NB: ‘A3’ is a type function, and may not be injective Expected type: x (A2 (FCon x) -> A3 (FCon x)) -> A2 (FCon x) -> A3 (FCon x) Actual type: x (A2 (FCon x) -> A3 (FCon x)) @@ -16,5 +16,5 @@ T4179.hs:26:16: Relevant bindings include fCon :: Con x -> A2 (FCon x) -> A3 (FCon x) (bound at T4179.hs:26:1) - In the first argument of ‛foldDoC’, namely ‛op’ + In the first argument of ‘foldDoC’, namely ‘op’ In the expression: foldDoC op diff --git a/testsuite/tests/indexed-types/should_fail/T4272.stderr b/testsuite/tests/indexed-types/should_fail/T4272.stderr index 1214e8492d..7c98377ed7 100644 --- a/testsuite/tests/indexed-types/should_fail/T4272.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4272.stderr @@ -5,7 +5,7 @@ T4272.hs:15:26: bound by the type signature for laws :: TermLike a => TermFamily a a -> b at T4272.hs:14:9-53 - ‛a’ is a rigid type variable bound by + ‘a’ is a rigid type variable bound by the type signature for laws :: TermLike a => TermFamily a a -> b at T4272.hs:14:16 Expected type: TermFamily a (TermFamily a a) @@ -13,8 +13,8 @@ T4272.hs:15:26: Relevant bindings include t :: TermFamily a a (bound at T4272.hs:15:6) laws :: TermFamily a a -> b (bound at T4272.hs:15:1) - In the first argument of ‛terms’, namely - ‛(undefined :: TermFamily a a)’ - In the second argument of ‛prune’, namely - ‛(terms (undefined :: TermFamily a a))’ + In the first argument of ‘terms’, namely + ‘(undefined :: TermFamily a a)’ + In the second argument of ‘prune’, namely + ‘(terms (undefined :: TermFamily a a))’ In the expression: prune t (terms (undefined :: TermFamily a a)) diff --git a/testsuite/tests/indexed-types/should_fail/T4485.stderr b/testsuite/tests/indexed-types/should_fail/T4485.stderr index fca2fc88f7..b2bd626d20 100644 --- a/testsuite/tests/indexed-types/should_fail/T4485.stderr +++ b/testsuite/tests/indexed-types/should_fail/T4485.stderr @@ -2,7 +2,7 @@ T4485.hs:47:15: Overlapping instances for EmbedAsChild (IdentityT IO) (XMLGenT m0 (XML m0)) - arising from a use of ‛asChild’ + arising from a use of ‘asChild’ Matching instances: instance [overlap ok] (EmbedAsChild m c, m1 ~ m) => EmbedAsChild m (XMLGenT m1 c) @@ -10,21 +10,21 @@ T4485.hs:47:15: instance [overlap ok] EmbedAsChild (IdentityT IO) (XMLGenT Identity ()) -- Defined at T4485.hs:42:10 - (The choice depends on the instantiation of ‛m0’ + (The choice depends on the instantiation of ‘m0’ To pick the first instance above, use IncoherentInstances when compiling the other instance declarations) In the expression: asChild In the expression: asChild $ (genElement "foo") - In an equation for ‛asChild’: + In an equation for ‘asChild’: asChild b = asChild $ (genElement "foo") T4485.hs:47:26: - No instance for (XMLGen m0) arising from a use of ‛genElement’ - The type variable ‛m0’ is ambiguous + No instance for (XMLGen m0) arising from a use of ‘genElement’ + The type variable ‘m0’ is ambiguous Note: there is a potential instance available: instance [overlap ok] XMLGen (IdentityT m) -- Defined at T4485.hs:36:10 - In the second argument of ‛($)’, namely ‛(genElement "foo")’ + In the second argument of ‘($)’, namely ‘(genElement "foo")’ In the expression: asChild $ (genElement "foo") - In an equation for ‛asChild’: + In an equation for ‘asChild’: asChild b = asChild $ (genElement "foo") diff --git a/testsuite/tests/indexed-types/should_fail/T5439.stderr b/testsuite/tests/indexed-types/should_fail/T5439.stderr index e6e34b19c5..d5f0318985 100644 --- a/testsuite/tests/indexed-types/should_fail/T5439.stderr +++ b/testsuite/tests/indexed-types/should_fail/T5439.stderr @@ -1,7 +1,7 @@ T5439.hs:83:28: - Couldn't match type ‛Attempt (HNth n0 l0) -> Attempt (HElemOf l0)’ - with ‛Attempt (WaitOpResult (WaitOps rs))’ + Couldn't match type ‘Attempt (HNth n0 l0) -> Attempt (HElemOf l0)’ + with ‘Attempt (WaitOpResult (WaitOps rs))’ Expected type: f (Attempt (HNth n0 l0) -> Attempt (HElemOf l0)) Actual type: f (Attempt (WaitOpResult (WaitOps rs))) Relevant bindings include @@ -13,13 +13,13 @@ T5439.hs:83:28: registerWaitOp :: WaitOps rs -> f (Attempt (WaitOpResult (WaitOps rs))) -> IO Bool (bound at T5439.hs:62:3) - In the first argument of ‛complete’, namely ‛ev’ + In the first argument of ‘complete’, namely ‘ev’ In the expression: complete ev T5439.hs:83:39: - Couldn't match expected type ‛Peano n0’ - with actual type ‛Attempt α0’ - In the second argument of ‛($)’, namely - ‛Failure (e :: SomeException)’ - In the second argument of ‛($)’, namely - ‛inj $ Failure (e :: SomeException)’ + Couldn't match expected type ‘Peano n0’ + with actual type ‘Attempt α0’ + In the second argument of ‘($)’, namely + ‘Failure (e :: SomeException)’ + In the second argument of ‘($)’, namely + ‘inj $ Failure (e :: SomeException)’ diff --git a/testsuite/tests/indexed-types/should_fail/T5515.stderr b/testsuite/tests/indexed-types/should_fail/T5515.stderr index f8056f0dd9..463a30b790 100644 --- a/testsuite/tests/indexed-types/should_fail/T5515.stderr +++ b/testsuite/tests/indexed-types/should_fail/T5515.stderr @@ -1,8 +1,8 @@ T5515.hs:9:3: - The RHS of an associated type declaration mentions type variable ‛a’ + The RHS of an associated type declaration mentions type variable ‘a’ All such variables must be bound on the LHS T5515.hs:15:3: - The RHS of an associated type declaration mentions type variable ‛a’ + The RHS of an associated type declaration mentions type variable ‘a’ All such variables must be bound on the LHS diff --git a/testsuite/tests/indexed-types/should_fail/T5934.stderr b/testsuite/tests/indexed-types/should_fail/T5934.stderr index df0ea6e86a..cf7bf8784e 100644 --- a/testsuite/tests/indexed-types/should_fail/T5934.stderr +++ b/testsuite/tests/indexed-types/should_fail/T5934.stderr @@ -1,7 +1,7 @@ T5934.hs:12:7: - Cannot instantiate unification variable ‛a0’ + Cannot instantiate unification variable ‘a0’ with a type involving foralls: (forall s. GenST s) -> Int Perhaps you want ImpredicativeTypes In the expression: 0 - In an equation for ‛run’: run = 0 + In an equation for ‘run’: run = 0 diff --git a/testsuite/tests/indexed-types/should_fail/T6123.stderr b/testsuite/tests/indexed-types/should_fail/T6123.stderr index 4fbdf9bf4b..5aec1761e9 100644 --- a/testsuite/tests/indexed-types/should_fail/T6123.stderr +++ b/testsuite/tests/indexed-types/should_fail/T6123.stderr @@ -1,7 +1,7 @@ T6123.hs:10:14: Occurs check: cannot construct the infinite type: a0 ~ Id a0 - The type variable ‛a0’ is ambiguous + The type variable ‘a0’ is ambiguous Relevant bindings include cundefined :: a0 (bound at T6123.hs:10:1) In the expression: cid undefined - In an equation for ‛cundefined’: cundefined = cid undefined + In an equation for ‘cundefined’: cundefined = cid undefined diff --git a/testsuite/tests/indexed-types/should_fail/T7010.stderr b/testsuite/tests/indexed-types/should_fail/T7010.stderr index d0c300c962..16891fb6b0 100644 --- a/testsuite/tests/indexed-types/should_fail/T7010.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7010.stderr @@ -1,7 +1,7 @@ T7010.hs:53:27: - Couldn't match type ‛Serial (IO Float)’ with ‛IO Float’ + Couldn't match type ‘Serial (IO Float)’ with ‘IO Float’ Expected type: (Float, ValueTuple Vector) Actual type: (Float, ValueTuple Float) - In the first argument of ‛withArgs’, namely ‛plug’ + In the first argument of ‘withArgs’, namely ‘plug’ In the expression: withArgs plug diff --git a/testsuite/tests/indexed-types/should_fail/T7194.stderr b/testsuite/tests/indexed-types/should_fail/T7194.stderr index 68c2429fe6..dece4fb9e7 100644 --- a/testsuite/tests/indexed-types/should_fail/T7194.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7194.stderr @@ -1,7 +1,7 @@ T7194.hs:18:35: - Couldn't match expected type ‛b0’ with actual type ‛F a’ - because type variable ‛a’ would escape its scope + Couldn't match expected type ‘b0’ with actual type ‘F a’ + because type variable ‘a’ would escape its scope This (rigid, skolem) type variable is bound by the type signature for g :: C (F a) => a -> Int at T7194.hs:17:23-41 @@ -10,4 +10,4 @@ T7194.hs:18:35: g :: a -> Int (bound at T7194.hs:18:18) x :: b0 (bound at T7194.hs:17:9) In the expression: foo y - In the first argument of ‛length’, namely ‛[x, foo y]’ + In the first argument of ‘length’, namely ‘[x, foo y]’ diff --git a/testsuite/tests/indexed-types/should_fail/T7354.stderr b/testsuite/tests/indexed-types/should_fail/T7354.stderr index c548f151ca..7c505f1876 100644 --- a/testsuite/tests/indexed-types/should_fail/T7354.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7354.stderr @@ -6,5 +6,5 @@ T7354.hs:28:11: Actual type: Prim [a] a -> a Relevant bindings include foo :: Prim [a] a -> t (bound at T7354.hs:28:1) - In the first argument of ‛ana’, namely ‛alg’ + In the first argument of ‘ana’, namely ‘alg’ In the expression: ana alg diff --git a/testsuite/tests/indexed-types/should_fail/T7354a.stderr b/testsuite/tests/indexed-types/should_fail/T7354a.stderr index dbad7967ea..ac7bc80cc8 100644 --- a/testsuite/tests/indexed-types/should_fail/T7354a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7354a.stderr @@ -1,6 +1,6 @@ T7354a.hs:5:13: - Couldn't match expected type ‛Base t t’ with actual type ‛()’ + Couldn't match expected type ‘Base t t’ with actual type ‘()’ Relevant bindings include foo :: t (bound at T7354a.hs:5:1) - In the first argument of ‛embed’, namely ‛()’ + In the first argument of ‘embed’, namely ‘()’ In the expression: embed () diff --git a/testsuite/tests/indexed-types/should_fail/T7536.stderr b/testsuite/tests/indexed-types/should_fail/T7536.stderr index 0c242a9029..9e7ed3010e 100644 --- a/testsuite/tests/indexed-types/should_fail/T7536.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7536.stderr @@ -1,5 +1,5 @@ T7536.hs:8:15: - Family instance purports to bind type variable ‛a’ + Family instance purports to bind type variable ‘a’ but the real LHS (expanding synonyms) is: TF Int = ... - In the type instance declaration for ‛TF’ + In the type instance declaration for ‘TF’ diff --git a/testsuite/tests/indexed-types/should_fail/T7729.stderr b/testsuite/tests/indexed-types/should_fail/T7729.stderr index 6b0d203a9b..bb5a900c4c 100644 --- a/testsuite/tests/indexed-types/should_fail/T7729.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7729.stderr @@ -6,11 +6,11 @@ T7729.hs:28:14: Monad (Rand m), MonadPrim m) bound by the instance declaration at T7729.hs:26:10-42 - The type variable ‛t0’ is ambiguous + The type variable ‘t0’ is ambiguous Expected type: t0 (BasePrimMonad (Rand m)) a -> Rand m a Actual type: BasePrimMonad (Rand m) a -> Rand m a Relevant bindings include liftPrim :: BasePrimMonad (Rand m) a -> Rand m a (bound at T7729.hs:28:3) - In the first argument of ‛(.)’, namely ‛liftPrim’ + In the first argument of ‘(.)’, namely ‘liftPrim’ In the expression: liftPrim . lift diff --git a/testsuite/tests/indexed-types/should_fail/T7729a.stderr b/testsuite/tests/indexed-types/should_fail/T7729a.stderr index c0019c8259..f90db0c491 100644 --- a/testsuite/tests/indexed-types/should_fail/T7729a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7729a.stderr @@ -6,12 +6,12 @@ T7729a.hs:28:26: Monad (Rand m), MonadPrim m) bound by the instance declaration at T7729a.hs:26:10-42 - The type variable ‛t0’ is ambiguous + The type variable ‘t0’ is ambiguous Expected type: BasePrimMonad (Rand m) a Actual type: t0 (BasePrimMonad (Rand m)) a Relevant bindings include x :: BasePrimMonad (Rand m) a (bound at T7729a.hs:28:12) liftPrim :: BasePrimMonad (Rand m) a -> Rand m a (bound at T7729a.hs:28:3) - In the first argument of ‛liftPrim’, namely ‛(lift x)’ + In the first argument of ‘liftPrim’, namely ‘(lift x)’ In the expression: liftPrim (lift x) diff --git a/testsuite/tests/indexed-types/should_fail/T7786.stderr b/testsuite/tests/indexed-types/should_fail/T7786.stderr index 8c1f64eac0..9652643802 100644 --- a/testsuite/tests/indexed-types/should_fail/T7786.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7786.stderr @@ -1,6 +1,6 @@ T7786.hs:86:22: - Couldn't match type ‛xxx’ with ‛'Empty’ + Couldn't match type ‘xxx’ with ‘'Empty’ Inaccessible code in a pattern with constructor Nil :: Sing 'Empty, diff --git a/testsuite/tests/indexed-types/should_fail/T7938.stderr b/testsuite/tests/indexed-types/should_fail/T7938.stderr index 3ac16f135d..a6aeb8af0b 100644 --- a/testsuite/tests/indexed-types/should_fail/T7938.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7938.stderr @@ -1,6 +1,6 @@ T7938.hs:12:16: - Expected kind ‛*’, but ‛KP’ has kind ‛KProxy k2’ - In the type ‛(KP :: KProxy k2)’ - In the type instance declaration for ‛Bar’ - In the instance declaration for ‛Foo (a :: k1) (b :: k2)’ + Expected kind ‘*’, but ‘KP’ has kind ‘KProxy k2’ + In the type ‘(KP :: KProxy k2)’ + In the type instance declaration for ‘Bar’ + In the instance declaration for ‘Foo (a :: k1) (b :: k2)’ diff --git a/testsuite/tests/indexed-types/should_fail/T7967.stderr b/testsuite/tests/indexed-types/should_fail/T7967.stderr index 620077601f..a7269451fe 100644 --- a/testsuite/tests/indexed-types/should_fail/T7967.stderr +++ b/testsuite/tests/indexed-types/should_fail/T7967.stderr @@ -1,7 +1,7 @@ T7967.hs:31:26: - Couldn't match type ‛'[]’ with ‛h0 : t0’ + Couldn't match type ‘'[]’ with ‘h0 : t0’ Expected type: Index n l Actual type: Index 'Zero (h0 : t0) In the expression: IZero - In an equation for ‛sNatToIndex’: sNatToIndex SZero HNil = IZero + In an equation for ‘sNatToIndex’: sNatToIndex SZero HNil = IZero diff --git a/testsuite/tests/indexed-types/should_fail/T8155.stderr b/testsuite/tests/indexed-types/should_fail/T8155.stderr index c85b84b4c8..fb0ceb457b 100644 --- a/testsuite/tests/indexed-types/should_fail/T8155.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8155.stderr @@ -1,9 +1,9 @@ T8155.hs:26:14: Could not deduce (Integral (BoundsOf (a -> a))) - arising from a use of ‛buildV’ + arising from a use of ‘buildV’ from the context (Num a) bound by the instance declaration at T8155.hs:25:10-32 In the expression: buildV - In an equation for ‛build'’: build' = buildV - In the instance declaration for ‛Build (a -> a)’ + In an equation for ‘build'’: build' = buildV + In the instance declaration for ‘Build (a -> a)’ diff --git a/testsuite/tests/indexed-types/should_fail/T8227.stderr b/testsuite/tests/indexed-types/should_fail/T8227.stderr index e32d0272f6..8d490d67ca 100644 --- a/testsuite/tests/indexed-types/should_fail/T8227.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8227.stderr @@ -1,7 +1,7 @@ T8227.hs:16:27: - Couldn't match type ‛Scalar (V (Scalar (V a)))’ with ‛Scalar (V a)’ - NB: ‛Scalar’ is a type function, and may not be injective + Couldn't match type ‘Scalar (V (Scalar (V a)))’ with ‘Scalar (V a)’ + NB: ‘Scalar’ is a type function, and may not be injective Expected type: Scalar (V a) Actual type: Scalar (V (Scalar (V a))) -> Scalar (V (Scalar (V a))) @@ -11,5 +11,5 @@ T8227.hs:16:27: absoluteToParam :: Scalar (V a) -> a -> Scalar (V a) (bound at T8227.hs:16:1) In the expression: arcLengthToParam eps eps - In an equation for ‛absoluteToParam’: + In an equation for ‘absoluteToParam’: absoluteToParam eps seg = arcLengthToParam eps eps diff --git a/testsuite/tests/indexed-types/should_fail/T8368.stderr b/testsuite/tests/indexed-types/should_fail/T8368.stderr index 2ff63d7bb4..058dfb147c 100644 --- a/testsuite/tests/indexed-types/should_fail/T8368.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8368.stderr @@ -1,6 +1,6 @@ T8368.hs:9:3: - Data constructor ‛MkFam’ returns type ‛Foo’ - instead of an instance of its parent type ‛Fam a’ - In the definition of data constructor ‛MkFam’ - In the data instance declaration for ‛Fam’ + Data constructor ‘MkFam’ returns type ‘Foo’ + instead of an instance of its parent type ‘Fam a’ + In the definition of data constructor ‘MkFam’ + In the data instance declaration for ‘Fam’ diff --git a/testsuite/tests/indexed-types/should_fail/T8368a.stderr b/testsuite/tests/indexed-types/should_fail/T8368a.stderr index 247a63305b..5b20206745 100644 --- a/testsuite/tests/indexed-types/should_fail/T8368a.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8368a.stderr @@ -1,6 +1,6 @@ T8368a.hs:7:3: - Data constructor ‛MkFam’ returns type ‛Fam Bool b’ - instead of an instance of its parent type ‛Fam Int b’ - In the definition of data constructor ‛MkFam’ - In the data instance declaration for ‛Fam’ + Data constructor ‘MkFam’ returns type ‘Fam Bool b’ + instead of an instance of its parent type ‘Fam Int b’ + In the definition of data constructor ‘MkFam’ + In the data instance declaration for ‘Fam’ diff --git a/testsuite/tests/indexed-types/should_fail/TyFamArity1.stderr b/testsuite/tests/indexed-types/should_fail/TyFamArity1.stderr index adfcc37a00..b99c8d9934 100644 --- a/testsuite/tests/indexed-types/should_fail/TyFamArity1.stderr +++ b/testsuite/tests/indexed-types/should_fail/TyFamArity1.stderr @@ -1,4 +1,4 @@ TyFamArity1.hs:4:15: Number of parameters must match family declaration; expected 2 - In the type instance declaration for ‛T’ + In the type instance declaration for ‘T’ diff --git a/testsuite/tests/indexed-types/should_fail/TyFamArity2.stderr b/testsuite/tests/indexed-types/should_fail/TyFamArity2.stderr index d602a2d5e0..28107aaed6 100644 --- a/testsuite/tests/indexed-types/should_fail/TyFamArity2.stderr +++ b/testsuite/tests/indexed-types/should_fail/TyFamArity2.stderr @@ -1,4 +1,4 @@ TyFamArity2.hs:4:15: Number of parameters must match family declaration; expected 1 - In the type instance declaration for ‛T’ + In the type instance declaration for ‘T’ diff --git a/testsuite/tests/indexed-types/should_fail/TyFamUndec.stderr b/testsuite/tests/indexed-types/should_fail/TyFamUndec.stderr index da77e08024..15cd757181 100644 --- a/testsuite/tests/indexed-types/should_fail/TyFamUndec.stderr +++ b/testsuite/tests/indexed-types/should_fail/TyFamUndec.stderr @@ -1,18 +1,18 @@ TyFamUndec.hs:6:15: - Variable ‛b’ occurs more often than in the instance head + Variable ‘b’ occurs more often than in the instance head in the type family application: T (b, b) (Use UndecidableInstances to permit this) - In the type instance declaration for ‛T’ + In the type instance declaration for ‘T’ TyFamUndec.hs:7:15: Application is no smaller than the instance head in the type family application: T (a, Maybe b) (Use UndecidableInstances to permit this) - In the type instance declaration for ‛T’ + In the type instance declaration for ‘T’ TyFamUndec.hs:8:15: Nested type family application in the type family application: T (a, T b) (Use UndecidableInstances to permit this) - In the type instance declaration for ‛T’ + In the type instance declaration for ‘T’ diff --git a/testsuite/tests/layout/layout001.stdout b/testsuite/tests/layout/layout001.stdout index 682f863bcb..50b2cf4ab7 100644 --- a/testsuite/tests/layout/layout001.stdout +++ b/testsuite/tests/layout/layout001.stdout @@ -1,7 +1,7 @@ Running with -XNoAlternativeLayoutRule Running with -XAlternativeLayoutRule -layout001.hs:6:3: parse error on input ‛where’ +layout001.hs:6:3: parse error on input ‘where’ Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional layout001.hs:6:3: Warning: diff --git a/testsuite/tests/layout/layout003.stdout b/testsuite/tests/layout/layout003.stdout index ef1a1f84bc..171dc22d7e 100644 --- a/testsuite/tests/layout/layout003.stdout +++ b/testsuite/tests/layout/layout003.stdout @@ -1,7 +1,7 @@ Running with -XNoAlternativeLayoutRule Running with -XAlternativeLayoutRule -layout003.hs:11:4: parse error on input ‛|’ +layout003.hs:11:4: parse error on input ‘|’ Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional layout003.hs:11:4: Warning: diff --git a/testsuite/tests/layout/layout004.stdout b/testsuite/tests/layout/layout004.stdout index d8e3ab6196..264606f13c 100644 --- a/testsuite/tests/layout/layout004.stdout +++ b/testsuite/tests/layout/layout004.stdout @@ -1,7 +1,7 @@ Running with -XNoAlternativeLayoutRule Running with -XAlternativeLayoutRule -layout004.hs:7:14: parse error on input ‛,’ +layout004.hs:7:14: parse error on input ‘,’ Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional -layout004.hs:7:14: parse error on input ‛,’ +layout004.hs:7:14: parse error on input ‘,’ diff --git a/testsuite/tests/layout/layout006.stdout b/testsuite/tests/layout/layout006.stdout index a8986dbfe8..cba3151734 100644 --- a/testsuite/tests/layout/layout006.stdout +++ b/testsuite/tests/layout/layout006.stdout @@ -1,7 +1,7 @@ Running with -XNoAlternativeLayoutRule Running with -XAlternativeLayoutRule -layout006.hs:12:2: parse error on input ‛|’ +layout006.hs:12:2: parse error on input ‘|’ Running with -XAlternativeLayoutRule -XAlternativeLayoutRuleTransitional layout006.hs:12:2: Warning: diff --git a/testsuite/tests/mdo/should_fail/mdofail001.stderr b/testsuite/tests/mdo/should_fail/mdofail001.stderr index 8d6d86bc97..00de253367 100644 --- a/testsuite/tests/mdo/should_fail/mdofail001.stderr +++ b/testsuite/tests/mdo/should_fail/mdofail001.stderr @@ -1,6 +1,6 @@ mdofail001.hs:10:32: - No instance for (Num Char) arising from the literal ‛1’ + No instance for (Num Char) arising from the literal ‘1’ In the expression: 1 - In the first argument of ‛l’, namely ‛[1, 2, 3]’ + In the first argument of ‘l’, namely ‘[1, 2, 3]’ In the expression: l [1, 2, 3] diff --git a/testsuite/tests/mdo/should_fail/mdofail002.stderr b/testsuite/tests/mdo/should_fail/mdofail002.stderr index badd7383e7..7c0d7b679c 100644 --- a/testsuite/tests/mdo/should_fail/mdofail002.stderr +++ b/testsuite/tests/mdo/should_fail/mdofail002.stderr @@ -1,5 +1,5 @@ mdofail002.hs:10:9: - Conflicting definitions for ‛x’ + Conflicting definitions for ‘x’ Bound at: mdofail002.hs:10:9 mdofail002.hs:11:9 diff --git a/testsuite/tests/mdo/should_fail/mdofail003.stderr b/testsuite/tests/mdo/should_fail/mdofail003.stderr index ccb10dfb80..6d9741280e 100644 --- a/testsuite/tests/mdo/should_fail/mdofail003.stderr +++ b/testsuite/tests/mdo/should_fail/mdofail003.stderr @@ -1,5 +1,5 @@ mdofail003.hs:10:9: - Conflicting definitions for ‛x’ + Conflicting definitions for ‘x’ Bound at: mdofail003.hs:10:9 mdofail003.hs:11:13 diff --git a/testsuite/tests/mdo/should_fail/mdofail005.stderr b/testsuite/tests/mdo/should_fail/mdofail005.stderr index e5c81c3838..548129117a 100644 --- a/testsuite/tests/mdo/should_fail/mdofail005.stderr +++ b/testsuite/tests/mdo/should_fail/mdofail005.stderr @@ -1,2 +1,2 @@ -mdofail005.hs:11:14: parse error on input ‛<-’ +mdofail005.hs:11:14: parse error on input ‘<-’ diff --git a/testsuite/tests/module/T414.stderr b/testsuite/tests/module/T414.stderr index 57d43af555..70c0cdecf7 100644 --- a/testsuite/tests/module/T414.stderr +++ b/testsuite/tests/module/T414.stderr @@ -1,2 +1,2 @@ -T414.hs:1:1: The IO action ‛main’ is not exported by module ‛Main’ +T414.hs:1:1: The IO action ‘main’ is not exported by module ‘Main’ diff --git a/testsuite/tests/module/mod1.stderr b/testsuite/tests/module/mod1.stderr index 51d9e07b1d..ecc147513d 100644 --- a/testsuite/tests/module/mod1.stderr +++ b/testsuite/tests/module/mod1.stderr @@ -1,4 +1,4 @@ mod1.hs:3:1: - Failed to load interface for ‛N’ + Failed to load interface for ‘N’ Use -v to see a list of the files searched for. diff --git a/testsuite/tests/module/mod10.stderr b/testsuite/tests/module/mod10.stderr index 6cc2caf59e..dd08d880b3 100644 --- a/testsuite/tests/module/mod10.stderr +++ b/testsuite/tests/module/mod10.stderr @@ -1,2 +1,2 @@ -mod10.hs:2:10: Not in scope: type constructor or class ‛T’ +mod10.hs:2:10: Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/module/mod101.stderr b/testsuite/tests/module/mod101.stderr index 306884fa8f..bb8eecf546 100644 --- a/testsuite/tests/module/mod101.stderr +++ b/testsuite/tests/module/mod101.stderr @@ -1,4 +1,4 @@ mod101.hs:8:5: - Not in scope: data constructor ‛ConB’ - Perhaps you meant ‛ConA’ (imported from Mod101_AuxB) + Not in scope: data constructor ‘ConB’ + Perhaps you meant ‘ConA’ (imported from Mod101_AuxB) diff --git a/testsuite/tests/module/mod102.stderr b/testsuite/tests/module/mod102.stderr index a33246f12c..91aca9f620 100644 --- a/testsuite/tests/module/mod102.stderr +++ b/testsuite/tests/module/mod102.stderr @@ -1,4 +1,4 @@ mod102.hs:8:5: - Not in scope: ‛methB’ - Perhaps you meant ‛methA’ (imported from Mod102_AuxB) + Not in scope: ‘methB’ + Perhaps you meant ‘methA’ (imported from Mod102_AuxB) diff --git a/testsuite/tests/module/mod110.stderr b/testsuite/tests/module/mod110.stderr index f3e3ce93fb..1018f69f0d 100644 --- a/testsuite/tests/module/mod110.stderr +++ b/testsuite/tests/module/mod110.stderr @@ -1,7 +1,7 @@ mod110.hs:11:10: - Ambiguous occurrence ‛Eq’ - It could refer to either ‛M.Eq’, defined at mod110.hs:7:1 - or ‛Prelude.Eq’, - imported from ‛Prelude’ at mod110.hs:4:1-14 - (and originally defined in ‛GHC.Classes’) + Ambiguous occurrence ‘Eq’ + It could refer to either ‘M.Eq’, defined at mod110.hs:7:1 + or ‘Prelude.Eq’, + imported from ‘Prelude’ at mod110.hs:4:1-14 + (and originally defined in ‘GHC.Classes’) diff --git a/testsuite/tests/module/mod114.stderr b/testsuite/tests/module/mod114.stderr index 84131b47f5..673dc95b3a 100644 --- a/testsuite/tests/module/mod114.stderr +++ b/testsuite/tests/module/mod114.stderr @@ -1,2 +1,2 @@ -mod114.hs:3:16: Not in scope: type constructor or class ‛Stuff’ +mod114.hs:3:16: Not in scope: type constructor or class ‘Stuff’ diff --git a/testsuite/tests/module/mod116.stderr b/testsuite/tests/module/mod116.stderr index c46059c5d6..6dd4a9fc02 100644 --- a/testsuite/tests/module/mod116.stderr +++ b/testsuite/tests/module/mod116.stderr @@ -1,2 +1,2 @@ -mod116.hs:2:18: Not in scope: type constructor or class ‛M2’ +mod116.hs:2:18: Not in scope: type constructor or class ‘M2’ diff --git a/testsuite/tests/module/mod120.stderr b/testsuite/tests/module/mod120.stderr index 2643f9258f..8c68fa091c 100644 --- a/testsuite/tests/module/mod120.stderr +++ b/testsuite/tests/module/mod120.stderr @@ -1,2 +1,2 @@ -mod120.hs:5:5: Not in scope: data constructor ‛Foo’ +mod120.hs:5:5: Not in scope: data constructor ‘Foo’ diff --git a/testsuite/tests/module/mod121.stderr b/testsuite/tests/module/mod121.stderr index 16ea4bf627..7036ddb935 100644 --- a/testsuite/tests/module/mod121.stderr +++ b/testsuite/tests/module/mod121.stderr @@ -1,4 +1,4 @@ mod121.hs:5:5: - Not in scope: ‛m2’ - Perhaps you meant ‛m1’ (imported from Mod121_A) + Not in scope: ‘m2’ + Perhaps you meant ‘m1’ (imported from Mod121_A) diff --git a/testsuite/tests/module/mod122.stderr b/testsuite/tests/module/mod122.stderr index 45e4f1699c..90719ecf06 100644 --- a/testsuite/tests/module/mod122.stderr +++ b/testsuite/tests/module/mod122.stderr @@ -1,2 +1,2 @@ -mod122.hs:5:6: Not in scope: type constructor or class ‛C’ +mod122.hs:5:6: Not in scope: type constructor or class ‘C’ diff --git a/testsuite/tests/module/mod123.stderr b/testsuite/tests/module/mod123.stderr index b631454857..9d9de6bbb2 100644 --- a/testsuite/tests/module/mod123.stderr +++ b/testsuite/tests/module/mod123.stderr @@ -1,2 +1,2 @@ -mod123.hs:5:6: Not in scope: type constructor or class ‛T’ +mod123.hs:5:6: Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/module/mod124.stderr b/testsuite/tests/module/mod124.stderr index 66cad7ee36..83113e9c5f 100644 --- a/testsuite/tests/module/mod124.stderr +++ b/testsuite/tests/module/mod124.stderr @@ -1,2 +1,2 @@ -mod124.hs:6:6: Not in scope: type constructor or class ‛T’ +mod124.hs:6:6: Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/module/mod125.stderr b/testsuite/tests/module/mod125.stderr index 9fa21e7875..1d56d076af 100644 --- a/testsuite/tests/module/mod125.stderr +++ b/testsuite/tests/module/mod125.stderr @@ -1,2 +1,2 @@ -mod125.hs:7:5: Not in scope: data constructor ‛T’ +mod125.hs:7:5: Not in scope: data constructor ‘T’ diff --git a/testsuite/tests/module/mod126.stderr b/testsuite/tests/module/mod126.stderr index 474e6eb490..26d26330be 100644 --- a/testsuite/tests/module/mod126.stderr +++ b/testsuite/tests/module/mod126.stderr @@ -1,2 +1,2 @@ -mod126.hs:7:5: Not in scope: data constructor ‛T’ +mod126.hs:7:5: Not in scope: data constructor ‘T’ diff --git a/testsuite/tests/module/mod127.stderr b/testsuite/tests/module/mod127.stderr index b208503368..83909e8236 100644 --- a/testsuite/tests/module/mod127.stderr +++ b/testsuite/tests/module/mod127.stderr @@ -1,2 +1,2 @@ -mod127.hs:6:6: Not in scope: type constructor or class ‛T’ +mod127.hs:6:6: Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/module/mod128.stderr-ghc b/testsuite/tests/module/mod128.stderr-ghc index 4363290fb3..bfd02c6b8d 100644 --- a/testsuite/tests/module/mod128.stderr-ghc +++ b/testsuite/tests/module/mod128.stderr-ghc @@ -1,2 +1,2 @@ -Mod128_A.hs:2:19: Warning: ‛T’ is exported by ‛T(Con)’ and ‛T’ +Mod128_A.hs:2:19: Warning: ‘T’ is exported by ‘T(Con)’ and ‘T’ diff --git a/testsuite/tests/module/mod130.stderr b/testsuite/tests/module/mod130.stderr index bb1aff176b..87fb842e7a 100644 --- a/testsuite/tests/module/mod130.stderr +++ b/testsuite/tests/module/mod130.stderr @@ -1,2 +1,2 @@ -mod130.hs:7:5: Not in scope: ‛<’ +mod130.hs:7:5: Not in scope: ‘<’ diff --git a/testsuite/tests/module/mod131.stderr b/testsuite/tests/module/mod131.stderr index 2b877aaae3..1b362e4a47 100644 --- a/testsuite/tests/module/mod131.stderr +++ b/testsuite/tests/module/mod131.stderr @@ -1,9 +1,9 @@ mod131.hs:2:27: - Conflicting exports for ‛f’: - ‛module Mod131_B’ exports ‛f’ - imported from ‛Mod131_B’ at mod131.hs:3:17 + Conflicting exports for ‘f’: + ‘module Mod131_B’ exports ‘f’ + imported from ‘Mod131_B’ at mod131.hs:3:17 (and originally defined at Mod131_B.hs:3:1) - ‛Mod131_A.f’ exports ‛Mod131_A.f’ - imported qualified from ‛Mod131_A’ at mod131.hs:4:27 + ‘Mod131_A.f’ exports ‘Mod131_A.f’ + imported qualified from ‘Mod131_A’ at mod131.hs:4:27 (and originally defined at Mod131_A.hs:3:1) diff --git a/testsuite/tests/module/mod132.stderr b/testsuite/tests/module/mod132.stderr index 4afecd8f87..2735a73dad 100644 --- a/testsuite/tests/module/mod132.stderr +++ b/testsuite/tests/module/mod132.stderr @@ -1,2 +1,2 @@ -mod132.hs:6:7: Not in scope: data constructor ‛Foo’ +mod132.hs:6:7: Not in scope: data constructor ‘Foo’ diff --git a/testsuite/tests/module/mod134.stderr b/testsuite/tests/module/mod134.stderr index 3270f93b68..e2171a8c6d 100644 --- a/testsuite/tests/module/mod134.stderr +++ b/testsuite/tests/module/mod134.stderr @@ -1,7 +1,7 @@ mod134.hs:6:19: - Not in scope: ‛Prelude.head’ + Not in scope: ‘Prelude.head’ Perhaps you meant one of these: - ‛Prelude.read’ (imported from Prelude), - ‛Prelude.reads’ (imported from Prelude), - ‛Prelude.snd’ (imported from Prelude) + ‘Prelude.read’ (imported from Prelude), + ‘Prelude.reads’ (imported from Prelude), + ‘Prelude.snd’ (imported from Prelude) diff --git a/testsuite/tests/module/mod136.stderr b/testsuite/tests/module/mod136.stderr index 2a0feed97e..58dab52093 100644 --- a/testsuite/tests/module/mod136.stderr +++ b/testsuite/tests/module/mod136.stderr @@ -1,6 +1,6 @@ mod136.hs:6:5: - Not in scope: ‛zipWith5’ + Not in scope: ‘zipWith5’ Perhaps you meant one of these: - ‛zipWith’ (imported from Mod136_A), - ‛zipWith3’ (imported from Mod136_A) + ‘zipWith’ (imported from Mod136_A), + ‘zipWith3’ (imported from Mod136_A) diff --git a/testsuite/tests/module/mod138.stderr b/testsuite/tests/module/mod138.stderr index 5b006ee326..7886bcdde5 100644 --- a/testsuite/tests/module/mod138.stderr +++ b/testsuite/tests/module/mod138.stderr @@ -1,2 +1,2 @@ -mod138.hs:7:5: Not in scope: ‛isLatin1’ +mod138.hs:7:5: Not in scope: ‘isLatin1’ diff --git a/testsuite/tests/module/mod14.stderr-ghc b/testsuite/tests/module/mod14.stderr-ghc index 9eec91d715..682cbe3400 100644 --- a/testsuite/tests/module/mod14.stderr-ghc +++ b/testsuite/tests/module/mod14.stderr-ghc @@ -1,3 +1,3 @@ mod14.hs:2:10: Warning: - ‛m2’ is exported by ‛C(m1, m2, m2, m3)’ and ‛C(m1, m2, m2, m3)’ + ‘m2’ is exported by ‘C(m1, m2, m2, m3)’ and ‘C(m1, m2, m2, m3)’ diff --git a/testsuite/tests/module/mod142.stderr b/testsuite/tests/module/mod142.stderr index f31723d020..0ed3fdbbf4 100644 --- a/testsuite/tests/module/mod142.stderr +++ b/testsuite/tests/module/mod142.stderr @@ -1,7 +1,7 @@ mod142.hs:2:21: - Conflicting exports for ‛x’: - ‛module Mod142_A’ exports ‛Mod142_A.x’ - imported from ‛Mod142_A’ at mod142.hs:4:1-15 + Conflicting exports for ‘x’: + ‘module Mod142_A’ exports ‘Mod142_A.x’ + imported from ‘Mod142_A’ at mod142.hs:4:1-15 (and originally defined at Mod142_A.hs:3:1) - ‛module M’ exports ‛M.x’ defined at mod142.hs:6:1 + ‘module M’ exports ‘M.x’ defined at mod142.hs:6:1 diff --git a/testsuite/tests/module/mod143.stderr b/testsuite/tests/module/mod143.stderr index a229aba016..2e28ad7edb 100644 --- a/testsuite/tests/module/mod143.stderr +++ b/testsuite/tests/module/mod143.stderr @@ -1,7 +1,7 @@ mod143.hs:2:21: - Conflicting exports for ‛Foo’: - ‛module Mod143_A’ exports ‛Mod143_A.Foo’ - imported from ‛Mod143_A’ at mod143.hs:4:1-15 + Conflicting exports for ‘Foo’: + ‘module Mod143_A’ exports ‘Mod143_A.Foo’ + imported from ‘Mod143_A’ at mod143.hs:4:1-15 (and originally defined at Mod143_A.hs:3:1-14) - ‛module M’ exports ‛M.Foo’ defined at mod143.hs:6:1 + ‘module M’ exports ‘M.Foo’ defined at mod143.hs:6:1 diff --git a/testsuite/tests/module/mod144.stderr b/testsuite/tests/module/mod144.stderr index 9742a76111..02330dc1b9 100644 --- a/testsuite/tests/module/mod144.stderr +++ b/testsuite/tests/module/mod144.stderr @@ -1,7 +1,7 @@ mod144.hs:2:27: - Conflicting exports for ‛Bar’: - ‛module Mod144_A’ exports ‛Mod144_A.Bar’ - imported from ‛Mod144_A’ at mod144.hs:4:1-15 - ‛module M’ exports ‛M.Bar’ defined at mod144.hs:6:13 + Conflicting exports for ‘Bar’: + ‘module Mod144_A’ exports ‘Mod144_A.Bar’ + imported from ‘Mod144_A’ at mod144.hs:4:1-15 + ‘module M’ exports ‘M.Bar’ defined at mod144.hs:6:13 exit(1) diff --git a/testsuite/tests/module/mod145.stderr b/testsuite/tests/module/mod145.stderr index 1f94faea97..ac55593a01 100644 --- a/testsuite/tests/module/mod145.stderr +++ b/testsuite/tests/module/mod145.stderr @@ -1,7 +1,7 @@ mod145.hs:2:30: - Conflicting exports for ‛m1’: - ‛module Mod145_A’ exports ‛Mod145_A.m1’ - imported from ‛Mod145_A’ at mod145.hs:4:1-15 + Conflicting exports for ‘m1’: + ‘module Mod145_A’ exports ‘Mod145_A.m1’ + imported from ‘Mod145_A’ at mod145.hs:4:1-15 (and originally defined at Mod145_A.hs:4:3-20) - ‛module Mod145’ exports ‛Mod145.m1’ defined at mod145.hs:7:3 + ‘module Mod145’ exports ‘Mod145.m1’ defined at mod145.hs:7:3 diff --git a/testsuite/tests/module/mod146.stderr b/testsuite/tests/module/mod146.stderr index 160c76c116..4d771478ec 100644 --- a/testsuite/tests/module/mod146.stderr +++ b/testsuite/tests/module/mod146.stderr @@ -1,7 +1,7 @@ mod146.hs:2:30: - Conflicting exports for ‛m1’: - ‛module Mod145_A’ exports ‛Mod145_A.m1’ - imported from ‛Mod145_A’ at mod146.hs:4:1-15 - ‛module Mod146’ exports ‛Mod146.m1’ defined at mod146.hs:7:3 + Conflicting exports for ‘m1’: + ‘module Mod145_A’ exports ‘Mod145_A.m1’ + imported from ‘Mod145_A’ at mod146.hs:4:1-15 + ‘module Mod146’ exports ‘Mod146.m1’ defined at mod146.hs:7:3 exit(1) diff --git a/testsuite/tests/module/mod147.stderr b/testsuite/tests/module/mod147.stderr index f57f2d8ad4..ce7101c077 100644 --- a/testsuite/tests/module/mod147.stderr +++ b/testsuite/tests/module/mod147.stderr @@ -1,2 +1,2 @@ -mod147.hs:6:5: Not in scope: data constructor ‛D’ +mod147.hs:6:5: Not in scope: data constructor ‘D’ diff --git a/testsuite/tests/module/mod150.stderr b/testsuite/tests/module/mod150.stderr index e1748d7725..2dc9feb66f 100644 --- a/testsuite/tests/module/mod150.stderr +++ b/testsuite/tests/module/mod150.stderr @@ -1,7 +1,7 @@ mod150.hs:2:20: - Conflicting exports for ‛id’: - ‛module Prelude’ exports ‛Prelude.id’ - imported from ‛Prelude’ at mod150.hs:2:8 - (and originally defined in ‛GHC.Base’) - ‛module M’ exports ‛M.id’ defined at mod150.hs:2:42 + Conflicting exports for ‘id’: + ‘module Prelude’ exports ‘Prelude.id’ + imported from ‘Prelude’ at mod150.hs:2:8 + (and originally defined in ‘GHC.Base’) + ‘module M’ exports ‘M.id’ defined at mod150.hs:2:42 diff --git a/testsuite/tests/module/mod151.stderr b/testsuite/tests/module/mod151.stderr index 505fdb8c4c..9f750584f0 100644 --- a/testsuite/tests/module/mod151.stderr +++ b/testsuite/tests/module/mod151.stderr @@ -1,7 +1,7 @@ mod151.hs:2:20: - Ambiguous occurrence ‛id’ - It could refer to either ‛M.id’, defined at mod151.hs:2:30 - or ‛Prelude.id’, - imported from ‛Prelude’ at mod151.hs:2:8 - (and originally defined in ‛GHC.Base’) + Ambiguous occurrence ‘id’ + It could refer to either ‘M.id’, defined at mod151.hs:2:30 + or ‘Prelude.id’, + imported from ‘Prelude’ at mod151.hs:2:8 + (and originally defined in ‘GHC.Base’) diff --git a/testsuite/tests/module/mod152.stderr b/testsuite/tests/module/mod152.stderr index e385e1e6e4..3c96bc1270 100644 --- a/testsuite/tests/module/mod152.stderr +++ b/testsuite/tests/module/mod152.stderr @@ -1,14 +1,14 @@ mod152.hs:2:26: - Ambiguous occurrence ‛id’ - It could refer to either ‛M.id’, defined at mod152.hs:2:36 - or ‛Prelude.id’, - imported from ‛Prelude’ at mod152.hs:2:8 - (and originally defined in ‛GHC.Base’) + Ambiguous occurrence ‘id’ + It could refer to either ‘M.id’, defined at mod152.hs:2:36 + or ‘Prelude.id’, + imported from ‘Prelude’ at mod152.hs:2:8 + (and originally defined in ‘GHC.Base’) mod152.hs:2:26: - Conflicting exports for ‛id’: - ‛module Prelude’ exports ‛Prelude.id’ - imported from ‛Prelude’ at mod152.hs:2:8 - (and originally defined in ‛GHC.Base’) - ‛id’ exports ‛M.id’ defined at mod152.hs:2:36 + Conflicting exports for ‘id’: + ‘module Prelude’ exports ‘Prelude.id’ + imported from ‘Prelude’ at mod152.hs:2:8 + (and originally defined in ‘GHC.Base’) + ‘id’ exports ‘M.id’ defined at mod152.hs:2:36 diff --git a/testsuite/tests/module/mod153.stderr b/testsuite/tests/module/mod153.stderr index 79532da846..fa5283b9ef 100644 --- a/testsuite/tests/module/mod153.stderr +++ b/testsuite/tests/module/mod153.stderr @@ -1,7 +1,7 @@ mod153.hs:2:11: - Ambiguous occurrence ‛id’ - It could refer to either ‛M.id’, defined at mod153.hs:2:21 - or ‛Prelude.id’, - imported from ‛Prelude’ at mod153.hs:2:8 - (and originally defined in ‛GHC.Base’) + Ambiguous occurrence ‘id’ + It could refer to either ‘M.id’, defined at mod153.hs:2:21 + or ‘Prelude.id’, + imported from ‘Prelude’ at mod153.hs:2:8 + (and originally defined in ‘GHC.Base’) diff --git a/testsuite/tests/module/mod155.stderr b/testsuite/tests/module/mod155.stderr index 8c02662978..ba03a62da0 100644 --- a/testsuite/tests/module/mod155.stderr +++ b/testsuite/tests/module/mod155.stderr @@ -1,7 +1,7 @@ mod155.hs:2:10: - Conflicting exports for ‛id’: - ‛module M’ exports ‛M.id’ - imported from ‛Prelude’ at mod155.hs:4:1-19 - (and originally defined in ‛GHC.Base’) - ‛module M’ exports ‛M.id’ defined at mod155.hs:5:1 + Conflicting exports for ‘id’: + ‘module M’ exports ‘M.id’ + imported from ‘Prelude’ at mod155.hs:4:1-19 + (and originally defined in ‘GHC.Base’) + ‘module M’ exports ‘M.id’ defined at mod155.hs:5:1 diff --git a/testsuite/tests/module/mod158.stderr b/testsuite/tests/module/mod158.stderr index 412c05c1b7..4fcc0a0365 100644 --- a/testsuite/tests/module/mod158.stderr +++ b/testsuite/tests/module/mod158.stderr @@ -1,3 +1,3 @@ -mod158.hs:12:5: Not in scope: data constructor ‛C’ +mod158.hs:12:5: Not in scope: data constructor ‘C’ exit(1) diff --git a/testsuite/tests/module/mod160.stderr b/testsuite/tests/module/mod160.stderr index 1a27420f61..7c752de093 100644 --- a/testsuite/tests/module/mod160.stderr +++ b/testsuite/tests/module/mod160.stderr @@ -1,6 +1,6 @@ mod160.hs:12:5: - Not in scope: ‛m3’ + Not in scope: ‘m3’ Perhaps you meant one of these: - ‛m1’ (imported from Mod159_D), ‛m2’ (imported from Mod159_D) + ‘m1’ (imported from Mod159_D), ‘m2’ (imported from Mod159_D) exit(1) diff --git a/testsuite/tests/module/mod161.stderr b/testsuite/tests/module/mod161.stderr index f5dc9fd378..5a812812ea 100644 --- a/testsuite/tests/module/mod161.stderr +++ b/testsuite/tests/module/mod161.stderr @@ -1,2 +1,2 @@ -mod161.hs:2:12: Not in scope: ‛bar’ +mod161.hs:2:12: Not in scope: ‘bar’ diff --git a/testsuite/tests/module/mod164.stderr b/testsuite/tests/module/mod164.stderr index e6ebc70bca..ecdeff8063 100644 --- a/testsuite/tests/module/mod164.stderr +++ b/testsuite/tests/module/mod164.stderr @@ -1,9 +1,9 @@ mod164.hs:9:5: - Ambiguous occurrence ‛D1’ - It could refer to either ‛Mod164_A.D1’, - imported from ‛Mod164_A’ at mod164.hs:4:1-15 + Ambiguous occurrence ‘D1’ + It could refer to either ‘Mod164_A.D1’, + imported from ‘Mod164_A’ at mod164.hs:4:1-15 (and originally defined at Mod164_A.hs:3:10-11) - or ‛Mod164_B.D1’, - imported from ‛Mod164_B’ at mod164.hs:5:1-15 + or ‘Mod164_B.D1’, + imported from ‘Mod164_B’ at mod164.hs:5:1-15 (and originally defined at Mod164_B.hs:3:10-11) diff --git a/testsuite/tests/module/mod165.stderr b/testsuite/tests/module/mod165.stderr index 334ad0c7f8..927b36924d 100644 --- a/testsuite/tests/module/mod165.stderr +++ b/testsuite/tests/module/mod165.stderr @@ -1,7 +1,7 @@ mod165.hs:9:5: - Ambiguous occurrence ‛A.D1’ - It could refer to either ‛A.D1’, - imported from ‛Mod164_A’ at mod165.hs:4:1-20 - or ‛A.D1’, imported from ‛Mod164_B’ at mod165.hs:5:1-20 + Ambiguous occurrence ‘A.D1’ + It could refer to either ‘A.D1’, + imported from ‘Mod164_A’ at mod165.hs:4:1-20 + or ‘A.D1’, imported from ‘Mod164_B’ at mod165.hs:5:1-20 exit(1) diff --git a/testsuite/tests/module/mod17.stderr b/testsuite/tests/module/mod17.stderr index 3a911609dd..9dcf0e612f 100644 --- a/testsuite/tests/module/mod17.stderr +++ b/testsuite/tests/module/mod17.stderr @@ -1,4 +1,4 @@ mod17.hs:2:10: - The export item ‛C(m1, m2, m3, Left)’ + The export item ‘C(m1, m2, m3, Left)’ attempts to export constructors or class methods that are not visible here diff --git a/testsuite/tests/module/mod174.stderr b/testsuite/tests/module/mod174.stderr index 84fef99429..a035f92b90 100644 --- a/testsuite/tests/module/mod174.stderr +++ b/testsuite/tests/module/mod174.stderr @@ -1,3 +1,3 @@ mod174.hs:1:1: - The IO action ‛main’ is not exported by module ‛Main’ + The IO action ‘main’ is not exported by module ‘Main’ diff --git a/testsuite/tests/module/mod176.stderr b/testsuite/tests/module/mod176.stderr index 4dcd689a8a..5b8c71b0dd 100644 --- a/testsuite/tests/module/mod176.stderr +++ b/testsuite/tests/module/mod176.stderr @@ -1,4 +1,4 @@ mod176.hs:4:1: Warning: - The import of ‛return, Monad’ - from module ‛Control.Monad’ is redundant + The import of ‘return, Monad’ + from module ‘Control.Monad’ is redundant diff --git a/testsuite/tests/module/mod177.stderr b/testsuite/tests/module/mod177.stderr index fe82c64569..21bf46cf9c 100644 --- a/testsuite/tests/module/mod177.stderr +++ b/testsuite/tests/module/mod177.stderr @@ -1,5 +1,5 @@ mod177.hs:4:1: Warning: - The import of ‛Data.Maybe’ is redundant - except perhaps to import instances from ‛Data.Maybe’ + The import of ‘Data.Maybe’ is redundant + except perhaps to import instances from ‘Data.Maybe’ To import instances alone, use: import Data.Maybe() diff --git a/testsuite/tests/module/mod178.stderr b/testsuite/tests/module/mod178.stderr index 755324b58c..8bd70526d9 100644 --- a/testsuite/tests/module/mod178.stderr +++ b/testsuite/tests/module/mod178.stderr @@ -1,5 +1,5 @@ Mod178_2.hs:1:1: File name does not match module name: - Saw: ‛Main’ - Expected: ‛Mod178_2’ + Saw: ‘Main’ + Expected: ‘Mod178_2’ diff --git a/testsuite/tests/module/mod18.stderr b/testsuite/tests/module/mod18.stderr index 922b86286f..0e1a4e3b7f 100644 --- a/testsuite/tests/module/mod18.stderr +++ b/testsuite/tests/module/mod18.stderr @@ -1,5 +1,5 @@ mod18.hs:3:1: - Multiple declarations of ‛T’ + Multiple declarations of ‘T’ Declared at: mod18.hs:2:1 mod18.hs:3:1 diff --git a/testsuite/tests/module/mod180.stderr b/testsuite/tests/module/mod180.stderr index af6826db44..732b5c8d0d 100644 --- a/testsuite/tests/module/mod180.stderr +++ b/testsuite/tests/module/mod180.stderr @@ -1,8 +1,8 @@ mod180.hs:8:5: - Couldn't match expected type ‛T’ - with actual type ‛main:Mod180_A.T’ - NB: ‛T’ is defined at Mod180_B.hs:3:1-10 - ‛main:Mod180_A.T’ is defined at Mod180_A.hs:3:1-10 + Couldn't match expected type ‘T’ + with actual type ‘main:Mod180_A.T’ + NB: ‘T’ is defined at Mod180_B.hs:3:1-10 + ‘main:Mod180_A.T’ is defined at Mod180_A.hs:3:1-10 In the expression: x - In an equation for ‛z’: z = x + In an equation for ‘z’: z = x diff --git a/testsuite/tests/module/mod19.stderr b/testsuite/tests/module/mod19.stderr index d0e7173290..b59d584f21 100644 --- a/testsuite/tests/module/mod19.stderr +++ b/testsuite/tests/module/mod19.stderr @@ -1,10 +1,10 @@ mod19.hs:3:1: - Multiple declarations of ‛C’ + Multiple declarations of ‘C’ Declared at: mod19.hs:2:1 mod19.hs:3:1 mod19.hs:3:17: - Multiple declarations of ‛m’ + Multiple declarations of ‘m’ Declared at: mod19.hs:2:17 mod19.hs:3:17 diff --git a/testsuite/tests/module/mod2.stderr b/testsuite/tests/module/mod2.stderr index c98e3f5ce6..32522890ba 100644 --- a/testsuite/tests/module/mod2.stderr +++ b/testsuite/tests/module/mod2.stderr @@ -1,4 +1,4 @@ mod2.hs:3:1: - Failed to load interface for ‛N’ + Failed to load interface for ‘N’ Use -v to see a list of the files searched for. diff --git a/testsuite/tests/module/mod20.stderr b/testsuite/tests/module/mod20.stderr index eb92e4a021..23190d6a2f 100644 --- a/testsuite/tests/module/mod20.stderr +++ b/testsuite/tests/module/mod20.stderr @@ -1,5 +1,5 @@ mod20.hs:3:18: - Multiple declarations of ‛m’ + Multiple declarations of ‘m’ Declared at: mod20.hs:2:18 mod20.hs:3:18 diff --git a/testsuite/tests/module/mod21.stderr b/testsuite/tests/module/mod21.stderr index e9cd1a7f8a..09c83c05ce 100644 --- a/testsuite/tests/module/mod21.stderr +++ b/testsuite/tests/module/mod21.stderr @@ -1,5 +1,5 @@ mod21.hs:3:1: - Multiple declarations of ‛T’ + Multiple declarations of ‘T’ Declared at: mod21.hs:2:1 mod21.hs:3:1 diff --git a/testsuite/tests/module/mod22.stderr b/testsuite/tests/module/mod22.stderr index 0e05809361..d1d61ba628 100644 --- a/testsuite/tests/module/mod22.stderr +++ b/testsuite/tests/module/mod22.stderr @@ -1,5 +1,5 @@ mod22.hs:3:11: - Multiple declarations of ‛K’ + Multiple declarations of ‘K’ Declared at: mod22.hs:2:11 mod22.hs:3:11 diff --git a/testsuite/tests/module/mod23.stderr b/testsuite/tests/module/mod23.stderr index 77f37d3c22..4387fb737a 100644 --- a/testsuite/tests/module/mod23.stderr +++ b/testsuite/tests/module/mod23.stderr @@ -1,5 +1,5 @@ mod23.hs:3:8: - Conflicting definitions for ‛a’ + Conflicting definitions for ‘a’ Bound at: mod23.hs:3:8 mod23.hs:3:10 diff --git a/testsuite/tests/module/mod24.stderr b/testsuite/tests/module/mod24.stderr index 9f2bb54798..efc5ad5dd0 100644 --- a/testsuite/tests/module/mod24.stderr +++ b/testsuite/tests/module/mod24.stderr @@ -1,5 +1,5 @@ mod24.hs:3:8: - Conflicting definitions for ‛a’ + Conflicting definitions for ‘a’ Bound at: mod24.hs:3:8 mod24.hs:3:10 diff --git a/testsuite/tests/module/mod25.stderr b/testsuite/tests/module/mod25.stderr index 6d8fd0349d..7a60fa81f4 100644 --- a/testsuite/tests/module/mod25.stderr +++ b/testsuite/tests/module/mod25.stderr @@ -1,2 +1,2 @@ -mod25.hs:3:16: Not in scope: type variable ‛b’ +mod25.hs:3:16: Not in scope: type variable ‘b’ diff --git a/testsuite/tests/module/mod26.stderr b/testsuite/tests/module/mod26.stderr index 0ee82dc57f..beb0050e05 100644 --- a/testsuite/tests/module/mod26.stderr +++ b/testsuite/tests/module/mod26.stderr @@ -1,2 +1,2 @@ -mod26.hs:3:21: Not in scope: type variable ‛b’ +mod26.hs:3:21: Not in scope: type variable ‘b’ diff --git a/testsuite/tests/module/mod29.stderr b/testsuite/tests/module/mod29.stderr index 2abdd7d1de..7e25c7f095 100644 --- a/testsuite/tests/module/mod29.stderr +++ b/testsuite/tests/module/mod29.stderr @@ -1,2 +1,2 @@ -mod29.hs:6:12: Not in scope: type constructor or class ‛Char’ +mod29.hs:6:12: Not in scope: type constructor or class ‘Char’ diff --git a/testsuite/tests/module/mod3.stderr b/testsuite/tests/module/mod3.stderr index f07a431b45..6e7a88bd6d 100644 --- a/testsuite/tests/module/mod3.stderr +++ b/testsuite/tests/module/mod3.stderr @@ -1,4 +1,4 @@ mod3.hs:2:10: - The export item ‛T(K1)’ + The export item ‘T(K1)’ attempts to export constructors or class methods that are not visible here diff --git a/testsuite/tests/module/mod36.stderr b/testsuite/tests/module/mod36.stderr index 6ec42d92b0..28ed1cdaae 100644 --- a/testsuite/tests/module/mod36.stderr +++ b/testsuite/tests/module/mod36.stderr @@ -1,2 +1,2 @@ -mod36.hs:5:5: Not in scope: ‛const’ +mod36.hs:5:5: Not in scope: ‘const’ diff --git a/testsuite/tests/module/mod38.stderr b/testsuite/tests/module/mod38.stderr index c271e8d326..971d31c931 100644 --- a/testsuite/tests/module/mod38.stderr +++ b/testsuite/tests/module/mod38.stderr @@ -1,5 +1,5 @@ mod38.hs:4:1: - Multiple declarations of ‛C’ + Multiple declarations of ‘C’ Declared at: mod38.hs:3:1 mod38.hs:4:1 diff --git a/testsuite/tests/module/mod4.stderr b/testsuite/tests/module/mod4.stderr index 38ea462fde..2391dadcdc 100644 --- a/testsuite/tests/module/mod4.stderr +++ b/testsuite/tests/module/mod4.stderr @@ -1,4 +1,4 @@ mod4.hs:2:10: - The export item ‛T(K1, K2)’ + The export item ‘T(K1, K2)’ attempts to export constructors or class methods that are not visible here diff --git a/testsuite/tests/module/mod40.stderr b/testsuite/tests/module/mod40.stderr index aa641e4d8a..cd977d1e77 100644 --- a/testsuite/tests/module/mod40.stderr +++ b/testsuite/tests/module/mod40.stderr @@ -1,8 +1,8 @@ mod40.hs:3:1: Cycle in class declaration (via superclasses): C1 -> C2 -> C1 - In the class declaration for ‛C1’ + In the class declaration for ‘C1’ mod40.hs:4:1: Cycle in class declaration (via superclasses): C2 -> C1 -> C2 - In the class declaration for ‛C2’ + In the class declaration for ‘C2’ diff --git a/testsuite/tests/module/mod41.stderr b/testsuite/tests/module/mod41.stderr index e9dfe97c33..9962da3716 100644 --- a/testsuite/tests/module/mod41.stderr +++ b/testsuite/tests/module/mod41.stderr @@ -1,8 +1,8 @@ mod41.hs:3:18: - Illegal instance declaration for ‛Eq (Either a a)’ + Illegal instance declaration for ‘Eq (Either a a)’ (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use FlexibleInstances if you want to disable this.) - In the instance declaration for ‛Eq (Either a a)’ + In the instance declaration for ‘Eq (Either a a)’ diff --git a/testsuite/tests/module/mod42.stderr b/testsuite/tests/module/mod42.stderr index b09258724f..03e7f8cdce 100644 --- a/testsuite/tests/module/mod42.stderr +++ b/testsuite/tests/module/mod42.stderr @@ -1,8 +1,8 @@ mod42.hs:3:10: - Illegal instance declaration for ‛Eq a’ + Illegal instance declaration for ‘Eq a’ (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use FlexibleInstances if you want to disable this.) - In the instance declaration for ‛Eq a’ + In the instance declaration for ‘Eq a’ diff --git a/testsuite/tests/module/mod43.stderr b/testsuite/tests/module/mod43.stderr index dd1dac68ad..d73c51e4a4 100644 --- a/testsuite/tests/module/mod43.stderr +++ b/testsuite/tests/module/mod43.stderr @@ -1,7 +1,7 @@ mod43.hs:3:10: - Illegal instance declaration for ‛Eq String’ + Illegal instance declaration for ‘Eq String’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) - In the instance declaration for ‛Eq String’ + In the instance declaration for ‘Eq String’ diff --git a/testsuite/tests/module/mod45.stderr b/testsuite/tests/module/mod45.stderr index 7102bf2e7d..ac8f21b54c 100644 --- a/testsuite/tests/module/mod45.stderr +++ b/testsuite/tests/module/mod45.stderr @@ -3,4 +3,4 @@ mod45.hs:5:11: Illegal type signature in instance declaration: (==) :: T -> T -> Bool (Use InstanceSigs to allow this) - In the instance declaration for ‛Eq T’ + In the instance declaration for ‘Eq T’ diff --git a/testsuite/tests/module/mod46.stderr b/testsuite/tests/module/mod46.stderr index 516215c679..6eb0028199 100644 --- a/testsuite/tests/module/mod46.stderr +++ b/testsuite/tests/module/mod46.stderr @@ -2,4 +2,4 @@ mod46.hs:4:10: No instance for (Eq T) arising from the superclasses of an instance declaration - In the instance declaration for ‛Ord T’ + In the instance declaration for ‘Ord T’ diff --git a/testsuite/tests/module/mod47.stderr b/testsuite/tests/module/mod47.stderr index 44aba92178..98bfdab685 100644 --- a/testsuite/tests/module/mod47.stderr +++ b/testsuite/tests/module/mod47.stderr @@ -6,4 +6,4 @@ mod47.hs:6:10: bound by the instance declaration at mod47.hs:6:10-34 Possible fix: add (Num a) to the context of the instance declaration - In the instance declaration for ‛Bar [a]’ + In the instance declaration for ‘Bar [a]’ diff --git a/testsuite/tests/module/mod49.stderr b/testsuite/tests/module/mod49.stderr index f0fca3e7ad..4354bb77f2 100644 --- a/testsuite/tests/module/mod49.stderr +++ b/testsuite/tests/module/mod49.stderr @@ -1,2 +1,2 @@ -mod49.hs:5:3: ‛y’ is not a (visible) method of class ‛C’ +mod49.hs:5:3: ‘y’ is not a (visible) method of class ‘C’ diff --git a/testsuite/tests/module/mod5.stderr-ghc b/testsuite/tests/module/mod5.stderr-ghc index b48307ab37..07967f0e21 100644 --- a/testsuite/tests/module/mod5.stderr-ghc +++ b/testsuite/tests/module/mod5.stderr-ghc @@ -1,3 +1,3 @@ mod5.hs:2:10: Warning: - ‛K1’ is exported by ‛T(K1, K1)’ and ‛T(K1, K1)’ + ‘K1’ is exported by ‘T(K1, K1)’ and ‘T(K1, K1)’ diff --git a/testsuite/tests/module/mod50.stderr b/testsuite/tests/module/mod50.stderr index 453f2f2da3..593148e3ab 100644 --- a/testsuite/tests/module/mod50.stderr +++ b/testsuite/tests/module/mod50.stderr @@ -1,2 +1,2 @@ -mod50.hs:3:22: Not in scope: type constructor or class ‛Foo’ +mod50.hs:3:22: Not in scope: type constructor or class ‘Foo’ diff --git a/testsuite/tests/module/mod53.stderr b/testsuite/tests/module/mod53.stderr index 4129d39959..14ec2e2646 100644 --- a/testsuite/tests/module/mod53.stderr +++ b/testsuite/tests/module/mod53.stderr @@ -1,5 +1,5 @@ mod53.hs:4:22: - Can't make a derived instance of ‛C T’: - ‛C’ is not a derivable class - In the data declaration for ‛T’ + Can't make a derived instance of ‘C T’: + ‘C’ is not a derivable class + In the data declaration for ‘T’ diff --git a/testsuite/tests/module/mod55.stderr b/testsuite/tests/module/mod55.stderr index a1f388f339..341de62692 100644 --- a/testsuite/tests/module/mod55.stderr +++ b/testsuite/tests/module/mod55.stderr @@ -1,6 +1,6 @@ mod55.hs:3:26: - Can't make a derived instance of ‛Enum T’: - ‛T’ must be an enumeration type + Can't make a derived instance of ‘Enum T’: + ‘T’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) - In the data declaration for ‛T’ + In the data declaration for ‘T’ diff --git a/testsuite/tests/module/mod56.stderr b/testsuite/tests/module/mod56.stderr index 44560cb764..4e3bb98fa4 100644 --- a/testsuite/tests/module/mod56.stderr +++ b/testsuite/tests/module/mod56.stderr @@ -1,8 +1,8 @@ mod56.hs:4:39: - Can't make a derived instance of ‛Ix T’: - ‛T’ must be an enumeration type + Can't make a derived instance of ‘Ix T’: + ‘T’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) or - ‛T’ must have precisely one constructor - In the data declaration for ‛T’ + ‘T’ must have precisely one constructor + In the data declaration for ‘T’ diff --git a/testsuite/tests/module/mod59.stderr b/testsuite/tests/module/mod59.stderr index 26e74034ca..90fb99a9df 100644 --- a/testsuite/tests/module/mod59.stderr +++ b/testsuite/tests/module/mod59.stderr @@ -1,2 +1,2 @@ -mod59.hs:3:3: Not in scope: data constructor ‛K’ +mod59.hs:3:3: Not in scope: data constructor ‘K’ diff --git a/testsuite/tests/module/mod60.stderr b/testsuite/tests/module/mod60.stderr index b25ee48b16..1cf46b1253 100644 --- a/testsuite/tests/module/mod60.stderr +++ b/testsuite/tests/module/mod60.stderr @@ -1,5 +1,5 @@ mod60.hs:3:4: - Constructor ‛Left’ should have 1 argument, but has been given none + Constructor ‘Left’ should have 1 argument, but has been given none In the pattern: Left - In an equation for ‛f’: f (Left) = error "foo" + In an equation for ‘f’: f (Left) = error "foo" diff --git a/testsuite/tests/module/mod61.stderr b/testsuite/tests/module/mod61.stderr index e96817f659..cce1dfe611 100644 --- a/testsuite/tests/module/mod61.stderr +++ b/testsuite/tests/module/mod61.stderr @@ -1,4 +1,4 @@ mod61.hs:3:11: Precedence parsing error - cannot mix ‛==’ [infix 4] and ‛==’ [infix 4] in the same infix expression + cannot mix ‘==’ [infix 4] and ‘==’ [infix 4] in the same infix expression diff --git a/testsuite/tests/module/mod62.stderr b/testsuite/tests/module/mod62.stderr index cac9a6f32c..8215ec1e1d 100644 --- a/testsuite/tests/module/mod62.stderr +++ b/testsuite/tests/module/mod62.stderr @@ -2,5 +2,5 @@ mod62.hs:3:9: Qualified name in binding position: M.y mod62.hs:3:22: - Not in scope: ‛M.y’ - Perhaps you meant ‛M.x’ (line 3) + Not in scope: ‘M.y’ + Perhaps you meant ‘M.x’ (line 3) diff --git a/testsuite/tests/module/mod63.stderr b/testsuite/tests/module/mod63.stderr index 3a60973366..b76c8b0600 100644 --- a/testsuite/tests/module/mod63.stderr +++ b/testsuite/tests/module/mod63.stderr @@ -1,5 +1,5 @@ mod63.hs:3:1: - Equations for ‛f’ have different numbers of arguments + Equations for ‘f’ have different numbers of arguments mod63.hs:3:1-8 mod63.hs:4:1-11 diff --git a/testsuite/tests/module/mod66.stderr b/testsuite/tests/module/mod66.stderr index b5fc83fa57..4a03192ef0 100644 --- a/testsuite/tests/module/mod66.stderr +++ b/testsuite/tests/module/mod66.stderr @@ -1,5 +1,5 @@ mod66.hs:5:1: - Multiple declarations of ‛f’ + Multiple declarations of ‘f’ Declared at: mod66.hs:3:1 mod66.hs:5:1 diff --git a/testsuite/tests/module/mod67.stderr b/testsuite/tests/module/mod67.stderr index a46c8ab03a..5c15a86586 100644 --- a/testsuite/tests/module/mod67.stderr +++ b/testsuite/tests/module/mod67.stderr @@ -1,3 +1,3 @@ mod67.hs:3:1: - The type signature for ‛f’ lacks an accompanying binding + The type signature for ‘f’ lacks an accompanying binding diff --git a/testsuite/tests/module/mod68.stderr b/testsuite/tests/module/mod68.stderr index 0d46be073b..754124f15c 100644 --- a/testsuite/tests/module/mod68.stderr +++ b/testsuite/tests/module/mod68.stderr @@ -1,5 +1,5 @@ mod68.hs:4:1: - Duplicate type signatures for ‛f’ + Duplicate type signatures for ‘f’ at mod68.hs:3:1 mod68.hs:4:1 diff --git a/testsuite/tests/module/mod7.stderr b/testsuite/tests/module/mod7.stderr index 5a446d3877..20a216a13e 100644 --- a/testsuite/tests/module/mod7.stderr +++ b/testsuite/tests/module/mod7.stderr @@ -1,2 +1,2 @@ -mod7.hs:2:10: Not in scope: type constructor or class ‛T’ +mod7.hs:2:10: Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/module/mod72.stderr b/testsuite/tests/module/mod72.stderr index b3ff8a9b3e..5726922feb 100644 --- a/testsuite/tests/module/mod72.stderr +++ b/testsuite/tests/module/mod72.stderr @@ -1,2 +1,2 @@ -mod72.hs:3:7: Not in scope: ‛g’ +mod72.hs:3:7: Not in scope: ‘g’ diff --git a/testsuite/tests/module/mod73.stderr b/testsuite/tests/module/mod73.stderr index de23976383..432f61b549 100644 --- a/testsuite/tests/module/mod73.stderr +++ b/testsuite/tests/module/mod73.stderr @@ -1,7 +1,7 @@ mod73.hs:3:7: - Not in scope: ‛Prelude.g’ + Not in scope: ‘Prelude.g’ Perhaps you meant one of these: - ‛Prelude.id’ (imported from Prelude), - ‛Prelude.log’ (imported from Prelude), - ‛Prelude.pi’ (imported from Prelude) + ‘Prelude.id’ (imported from Prelude), + ‘Prelude.log’ (imported from Prelude), + ‘Prelude.pi’ (imported from Prelude) diff --git a/testsuite/tests/module/mod74.stderr b/testsuite/tests/module/mod74.stderr index 89d12d495c..e3660924cc 100644 --- a/testsuite/tests/module/mod74.stderr +++ b/testsuite/tests/module/mod74.stderr @@ -1,2 +1,2 @@ -mod74.hs:3:7: Not in scope: ‛N.g’ +mod74.hs:3:7: Not in scope: ‘N.g’ diff --git a/testsuite/tests/module/mod76.stderr b/testsuite/tests/module/mod76.stderr index 37226abf36..7a90f5178a 100644 --- a/testsuite/tests/module/mod76.stderr +++ b/testsuite/tests/module/mod76.stderr @@ -1,2 +1,2 @@ -mod76.hs:5:1: parse error on input ‛module’ +mod76.hs:5:1: parse error on input ‘module’ diff --git a/testsuite/tests/module/mod77.stderr b/testsuite/tests/module/mod77.stderr index 1d05d71a07..c2c78c6a8f 100644 --- a/testsuite/tests/module/mod77.stderr +++ b/testsuite/tests/module/mod77.stderr @@ -1,3 +1,3 @@ mod77.hs:3:7: - The fixity signature for ‛$$$’ lacks an accompanying binding + The fixity signature for ‘$$$’ lacks an accompanying binding diff --git a/testsuite/tests/module/mod79.stderr b/testsuite/tests/module/mod79.stderr index 329e47625f..16cdda2c57 100644 --- a/testsuite/tests/module/mod79.stderr +++ b/testsuite/tests/module/mod79.stderr @@ -1,2 +1,2 @@ -mod79.hs:3:16: Module ‛Prelude’ does not export ‛C’ +mod79.hs:3:16: Module ‘Prelude’ does not export ‘C’ diff --git a/testsuite/tests/module/mod80.stderr b/testsuite/tests/module/mod80.stderr index 7908ede6ee..fa4131e86b 100644 --- a/testsuite/tests/module/mod80.stderr +++ b/testsuite/tests/module/mod80.stderr @@ -1,2 +1,2 @@ -mod80.hs:3:16: Module ‛Prelude’ does not export ‛f’ +mod80.hs:3:16: Module ‘Prelude’ does not export ‘f’ diff --git a/testsuite/tests/module/mod81.stderr b/testsuite/tests/module/mod81.stderr index b3c31ddd38..a1cb2f5bcb 100644 --- a/testsuite/tests/module/mod81.stderr +++ b/testsuite/tests/module/mod81.stderr @@ -1,3 +1,3 @@ mod81.hs:3:16: - Module ‛Prelude’ does not export ‛Either(Left, Right, Foo)’ + Module ‘Prelude’ does not export ‘Either(Left, Right, Foo)’ diff --git a/testsuite/tests/module/mod87.stderr b/testsuite/tests/module/mod87.stderr index 99ad6bf351..fdb9c84ccb 100644 --- a/testsuite/tests/module/mod87.stderr +++ b/testsuite/tests/module/mod87.stderr @@ -1,2 +1,2 @@ -mod87.hs:4:5: Not in scope: data constructor ‛Left’ +mod87.hs:4:5: Not in scope: data constructor ‘Left’ diff --git a/testsuite/tests/module/mod88.stderr b/testsuite/tests/module/mod88.stderr index 707ad693e2..fea1eddb7d 100644 --- a/testsuite/tests/module/mod88.stderr +++ b/testsuite/tests/module/mod88.stderr @@ -1,2 +1,2 @@ -mod88.hs:5:5: Not in scope: data constructor ‛Prelude.Left’ +mod88.hs:5:5: Not in scope: data constructor ‘Prelude.Left’ diff --git a/testsuite/tests/module/mod89.stderr b/testsuite/tests/module/mod89.stderr index 653c93a810..0f956536cb 100644 --- a/testsuite/tests/module/mod89.stderr +++ b/testsuite/tests/module/mod89.stderr @@ -1,2 +1,2 @@ -mod89.hs:3:16: Module ‛Prelude’ does not export ‛map(..)’ +mod89.hs:3:16: Module ‘Prelude’ does not export ‘map(..)’ diff --git a/testsuite/tests/module/mod9.stderr b/testsuite/tests/module/mod9.stderr index deee729ba9..b4eb0d7e40 100644 --- a/testsuite/tests/module/mod9.stderr +++ b/testsuite/tests/module/mod9.stderr @@ -1,2 +1,2 @@ -mod9.hs:2:10: Not in scope: type constructor or class ‛T’ +mod9.hs:2:10: Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/module/mod90.stderr b/testsuite/tests/module/mod90.stderr index 050b53c02e..9febfe3628 100644 --- a/testsuite/tests/module/mod90.stderr +++ b/testsuite/tests/module/mod90.stderr @@ -1,8 +1,8 @@ mod90.hs:3:16: - In module ‛Prelude’: - ‛Left’ is a data constructor of ‛Either’ + In module ‘Prelude’: + ‘Left’ is a data constructor of ‘Either’ To import it use - ‛import’ Prelude( Either( Left ) ) + ‘import’ Prelude( Either( Left ) ) or - ‛import’ Prelude( Either(..) ) + ‘import’ Prelude( Either(..) ) diff --git a/testsuite/tests/module/mod91.stderr b/testsuite/tests/module/mod91.stderr index 0324f48a01..5d8bd0b9ff 100644 --- a/testsuite/tests/module/mod91.stderr +++ b/testsuite/tests/module/mod91.stderr @@ -1,3 +1,3 @@ mod91.hs:3:16: - Module ‛Prelude’ does not export ‛Eq((==), (/=), eq)’ + Module ‘Prelude’ does not export ‘Eq((==), (/=), eq)’ diff --git a/testsuite/tests/module/mod97.stderr b/testsuite/tests/module/mod97.stderr index 03891bc178..23e129702e 100644 --- a/testsuite/tests/module/mod97.stderr +++ b/testsuite/tests/module/mod97.stderr @@ -1,2 +1,2 @@ -mod97.hs:4:9: Not in scope: ‛==’ +mod97.hs:4:9: Not in scope: ‘==’ diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr index 74ca081ac4..cd18d1c39c 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr @@ -1,36 +1,36 @@ overloadedlistsfail01.hs:5:8: - No instance for (Show a0) arising from a use of ‛print’ - The type variable ‛a0’ is ambiguous + No instance for (Show a0) arising from a use of ‘print’ + The type variable ‘a0’ is ambiguous Note: there are several potential instances: - instance Show Double -- Defined in ‛GHC.Float’ - instance Show Float -- Defined in ‛GHC.Float’ + instance Show Double -- Defined in ‘GHC.Float’ + instance Show Float -- Defined in ‘GHC.Float’ instance (Integral a, Show a) => Show (GHC.Real.Ratio a) - -- Defined in ‛GHC.Real’ + -- Defined in ‘GHC.Real’ ...plus 24 others In the expression: print [1] - In an equation for ‛main’: main = print [1] + In an equation for ‘main’: main = print [1] overloadedlistsfail01.hs:5:14: No instance for (GHC.Exts.IsList a0) arising from an overloaded list - The type variable ‛a0’ is ambiguous + The type variable ‘a0’ is ambiguous Note: there is a potential instance available: - instance GHC.Exts.IsList [a] -- Defined in ‛GHC.Exts’ - In the first argument of ‛print’, namely ‛[1]’ + instance GHC.Exts.IsList [a] -- Defined in ‘GHC.Exts’ + In the first argument of ‘print’, namely ‘[1]’ In the expression: print [1] - In an equation for ‛main’: main = print [1] + In an equation for ‘main’: main = print [1] overloadedlistsfail01.hs:5:15: No instance for (Num (GHC.Exts.Item a0)) - arising from the literal ‛1’ - The type variable ‛a0’ is ambiguous + arising from the literal ‘1’ + The type variable ‘a0’ is ambiguous Note: there are several potential instances: - instance Num Double -- Defined in ‛GHC.Float’ - instance Num Float -- Defined in ‛GHC.Float’ + instance Num Double -- Defined in ‘GHC.Float’ + instance Num Float -- Defined in ‘GHC.Float’ instance Integral a => Num (GHC.Real.Ratio a) - -- Defined in ‛GHC.Real’ + -- Defined in ‘GHC.Real’ ...plus three others In the expression: 1 - In the first argument of ‛print’, namely ‛[1]’ + In the first argument of ‘print’, namely ‘[1]’ In the expression: print [1] diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr index 62f8a0e0bd..d5f52fd66e 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr @@ -3,11 +3,11 @@ overloadedlistsfail02.hs:6:8: No instance for (GHC.Exts.IsList Foo) arising from an overloaded list In the expression: [7] - In an equation for ‛test’: test = [7] + In an equation for ‘test’: test = [7] overloadedlistsfail02.hs:6:9: No instance for (Num (GHC.Exts.Item Foo)) - arising from the literal ‛7’ + arising from the literal ‘7’ In the expression: 7 In the expression: [7] - In an equation for ‛test’: test = [7] + In an equation for ‘test’: test = [7] diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr index cd8cbff032..9c2e41640e 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr @@ -1,6 +1,6 @@ overloadedlistsfail03.hs:3:27: - Couldn't match expected type ‛Char’ with actual type ‛[Char]’ + Couldn't match expected type ‘Char’ with actual type ‘[Char]’ In the expression: "b" - In the first argument of ‛length’, namely ‛['a', "b"]’ - In the first argument of ‛print’, namely ‛(length ['a', "b"])’ + In the first argument of ‘length’, namely ‘['a', "b"]’ + In the first argument of ‘print’, namely ‘(length ['a', "b"])’ diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr index 145c6cd1fe..93811d40c7 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr @@ -1,8 +1,8 @@ overloadedlistsfail04.hs:3:15: No instance for (Enum [Char]) - arising from the arithmetic sequence ‛"a" .. "b"’ - In the first argument of ‛print’, namely - ‛(["a" .. "b"] :: [String])’ + arising from the arithmetic sequence ‘"a" .. "b"’ + In the first argument of ‘print’, namely + ‘(["a" .. "b"] :: [String])’ In the expression: print (["a" .. "b"] :: [String]) - In an equation for ‛main’: main = print (["a" .. "b"] :: [String]) + In an equation for ‘main’: main = print (["a" .. "b"] :: [String]) diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr index 131294b138..c576b5868c 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr @@ -1,7 +1,7 @@ overloadedlistsfail05.hs:3:29: - Couldn't match expected type ‛Char’ with actual type ‛Int’ + Couldn't match expected type ‘Char’ with actual type ‘Int’ In the expression: (10 :: Int) - In the first argument of ‛length’, namely ‛['a' .. (10 :: Int)]’ - In the first argument of ‛print’, namely - ‛(length ['a' .. (10 :: Int)])’ + In the first argument of ‘length’, namely ‘['a' .. (10 :: Int)]’ + In the first argument of ‘print’, namely + ‘(length ['a' .. (10 :: Int)])’ diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr index 239465670f..472bd787e2 100644 --- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr +++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr @@ -1,4 +1,4 @@ -overloadedlistsfail06.hs:3:3: Not in scope: ‛toList’ +overloadedlistsfail06.hs:3:3: Not in scope: ‘toList’ -overloadedlistsfail06.hs:3:8: Not in scope: ‛fromListN’ +overloadedlistsfail06.hs:3:8: Not in scope: ‘fromListN’ diff --git a/testsuite/tests/parser/should_compile/T2245.stderr b/testsuite/tests/parser/should_compile/T2245.stderr index 4d9e04dc7c..3a5f21ad21 100644 --- a/testsuite/tests/parser/should_compile/T2245.stderr +++ b/testsuite/tests/parser/should_compile/T2245.stderr @@ -1,22 +1,22 @@ T2245.hs:4:10: Warning: No explicit implementation for - ‛+’, ‛*’, ‛abs’, ‛signum’, ‛fromInteger’, and (either ‛negate’ + ‘+’, ‘*’, ‘abs’, ‘signum’, ‘fromInteger’, and (either ‘negate’ or - ‛-’) - In the instance declaration for ‛Num T’ + ‘-’) + In the instance declaration for ‘Num T’ T2245.hs:5:10: Warning: No explicit implementation for - ‛fromRational’ and (either ‛recip’ or ‛/’) - In the instance declaration for ‛Fractional T’ + ‘fromRational’ and (either ‘recip’ or ‘/’) + In the instance declaration for ‘Fractional T’ T2245.hs:7:38: Warning: - Defaulting the following constraint(s) to type ‛T’ - (Read b0) arising from a use of ‛read’ at T2245.hs:7:38-41 - (Ord b0) arising from a use of ‛<’ at T2245.hs:7:27 + Defaulting the following constraint(s) to type ‘T’ + (Read b0) arising from a use of ‘read’ at T2245.hs:7:38-41 + (Ord b0) arising from a use of ‘<’ at T2245.hs:7:27 (Fractional b0) - arising from the literal ‛1e400’ at T2245.hs:7:29-33 - In the second argument of ‛(.)’, namely ‛read’ - In the second argument of ‛(.)’, namely ‛(< 1e400) . read’ - In the second argument of ‛($)’, namely ‛show . (< 1e400) . read’ + arising from the literal ‘1e400’ at T2245.hs:7:29-33 + In the second argument of ‘(.)’, namely ‘read’ + In the second argument of ‘(.)’, namely ‘(< 1e400) . read’ + In the second argument of ‘($)’, namely ‘show . (< 1e400) . read’ diff --git a/testsuite/tests/parser/should_compile/T3303.stderr b/testsuite/tests/parser/should_compile/T3303.stderr index 685448f2cc..df227f47ef 100644 --- a/testsuite/tests/parser/should_compile/T3303.stderr +++ b/testsuite/tests/parser/should_compile/T3303.stderr @@ -1,6 +1,6 @@ T3303.hs:7:7: Warning: - In the use of ‛foo’ (imported from T3303A): + In the use of ‘foo’ (imported from T3303A): Deprecated: "This is a multi-line deprecation message for foo" diff --git a/testsuite/tests/parser/should_compile/read014.stderr-ghc b/testsuite/tests/parser/should_compile/read014.stderr-ghc index 6b585790ae..f3d8d604fb 100644 --- a/testsuite/tests/parser/should_compile/read014.stderr-ghc +++ b/testsuite/tests/parser/should_compile/read014.stderr-ghc @@ -3,11 +3,11 @@ read014.hs:4:1: Warning: Top-level binding with no type signature: ng1 :: forall t a. Num a => t -> a -> a -read014.hs:4:5: Warning: Defined but not used: ‛x’ +read014.hs:4:5: Warning: Defined but not used: ‘x’ read014.hs:6:10: Warning: No explicit implementation for - ‛+’, ‛*’, ‛abs’, ‛signum’, and ‛fromInteger’ - In the instance declaration for ‛Num (a, b)’ + ‘+’, ‘*’, ‘abs’, ‘signum’, and ‘fromInteger’ + In the instance declaration for ‘Num (a, b)’ -read014.hs:8:53: Warning: Defined but not used: ‛x’ +read014.hs:8:53: Warning: Defined but not used: ‘x’ 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’ diff --git a/testsuite/tests/parser/unicode/T2302.stderr b/testsuite/tests/parser/unicode/T2302.stderr index 0557a731db..7f7f9a9f92 100644 --- a/testsuite/tests/parser/unicode/T2302.stderr +++ b/testsuite/tests/parser/unicode/T2302.stderr @@ -1,2 +1,2 @@ -T2302.hs:1:5: Not in scope: data constructor ‛À’ +T2302.hs:1:5: Not in scope: data constructor ‘À’ diff --git a/testsuite/tests/patsyn/should_fail/mono.stderr b/testsuite/tests/patsyn/should_fail/mono.stderr index db54f0b11a..2bed60eafb 100644 --- a/testsuite/tests/patsyn/should_fail/mono.stderr +++ b/testsuite/tests/patsyn/should_fail/mono.stderr @@ -1,12 +1,12 @@ mono.hs:7:4: - Couldn't match type ‛Int’ with ‛Bool’ + Couldn't match type ‘Int’ with ‘Bool’ Expected type: [Bool] Actual type: [Int] In the pattern: Single x - In an equation for ‛f’: f (Single x) = x + In an equation for ‘f’: f (Single x) = x mono.hs:7:16: - Couldn't match expected type ‛Bool’ with actual type ‛Int’ + Couldn't match expected type ‘Bool’ with actual type ‘Int’ In the expression: x - In an equation for ‛f’: f (Single x) = x + In an equation for ‘f’: f (Single x) = x diff --git a/testsuite/tests/perf/compiler/T5837.stderr b/testsuite/tests/perf/compiler/T5837.stderr index 9e912ef341..2d2907d3ae 100644 --- a/testsuite/tests/perf/compiler/T5837.stderr +++ b/testsuite/tests/perf/compiler/T5837.stderr @@ -158,4 +158,4 @@ T5837.hs:8:6: (TF a))))))))))))))))))))))))))))))))))))))))))))))))) In the ambiguity check for: forall a. a ~ TF (a, Int) => Int - In the type signature for ‛t’: t :: a ~ TF (a, Int) => Int + In the type signature for ‘t’: t :: a ~ TF (a, Int) => Int diff --git a/testsuite/tests/perf/compiler/parsing001.stderr b/testsuite/tests/perf/compiler/parsing001.stderr index fe5939628c..0f86f7f994 100644 --- a/testsuite/tests/perf/compiler/parsing001.stderr +++ b/testsuite/tests/perf/compiler/parsing001.stderr @@ -1,4 +1,4 @@ parsing001.hs:3:1: - Failed to load interface for ‛Wibble’ + Failed to load interface for ‘Wibble’ Use -v to see a list of the files searched for. diff --git a/testsuite/tests/plugins/plugins03.stderr b/testsuite/tests/plugins/plugins03.stderr index 24feee818b..e04d80cb87 100644 --- a/testsuite/tests/plugins/plugins03.stderr +++ b/testsuite/tests/plugins/plugins03.stderr @@ -1,2 +1,2 @@ -<command line>: Could not find module ‛Simple.NonExistantPlugin’ +<command line>: Could not find module ‘Simple.NonExistantPlugin’ Use -v to see a list of the files searched for. diff --git a/testsuite/tests/plugins/plugins04.stderr b/testsuite/tests/plugins/plugins04.stderr index 13f94e4392..f0acc67d22 100644 --- a/testsuite/tests/plugins/plugins04.stderr +++ b/testsuite/tests/plugins/plugins04.stderr @@ -1,2 +1,2 @@ Module imports form a cycle: - module ‛HomePackagePlugin’ (./HomePackagePlugin.hs) imports itself + module ‘HomePackagePlugin’ (./HomePackagePlugin.hs) imports itself diff --git a/testsuite/tests/polykinds/PolyKinds02.stderr b/testsuite/tests/polykinds/PolyKinds02.stderr index 8fd49c8158..ab646d81c7 100644 --- a/testsuite/tests/polykinds/PolyKinds02.stderr +++ b/testsuite/tests/polykinds/PolyKinds02.stderr @@ -1,5 +1,5 @@ PolyKinds02.hs:13:16: - The second argument of ‛Vec’ should have kind ‛Nat’, - but ‛Nat’ has kind ‛*’ - In the type signature for ‛vec’: vec :: Vec Nat Nat + The second argument of ‘Vec’ should have kind ‘Nat’, + but ‘Nat’ has kind ‘*’ + In the type signature for ‘vec’: vec :: Vec Nat Nat diff --git a/testsuite/tests/polykinds/PolyKinds04.stderr b/testsuite/tests/polykinds/PolyKinds04.stderr index 1ffdf3910b..eaa4c07909 100644 --- a/testsuite/tests/polykinds/PolyKinds04.stderr +++ b/testsuite/tests/polykinds/PolyKinds04.stderr @@ -1,8 +1,8 @@ PolyKinds04.hs:5:16: - Expecting one more argument to ‛Maybe’ - The first argument of ‛A’ should have kind ‛*’, - but ‛Maybe’ has kind ‛* -> *’ - In the type ‛A Maybe’ - In the definition of data constructor ‛B1’ - In the data declaration for ‛B’ + Expecting one more argument to ‘Maybe’ + The first argument of ‘A’ should have kind ‘*’, + but ‘Maybe’ has kind ‘* -> *’ + In the type ‘A Maybe’ + In the definition of data constructor ‘B1’ + In the data declaration for ‘B’ diff --git a/testsuite/tests/polykinds/PolyKinds06.stderr b/testsuite/tests/polykinds/PolyKinds06.stderr index fc1700f31f..d6fa854c8f 100644 --- a/testsuite/tests/polykinds/PolyKinds06.stderr +++ b/testsuite/tests/polykinds/PolyKinds06.stderr @@ -1,5 +1,5 @@ PolyKinds06.hs:9:11: - Type constructor ‛A’ cannot be used here + Type constructor ‘A’ cannot be used here (it is defined and used in the same recursive group) - In the kind ‛A -> *’ + In the kind ‘A -> *’ diff --git a/testsuite/tests/polykinds/PolyKinds07.stderr b/testsuite/tests/polykinds/PolyKinds07.stderr index 761f13aeb5..6b1d6c137d 100644 --- a/testsuite/tests/polykinds/PolyKinds07.stderr +++ b/testsuite/tests/polykinds/PolyKinds07.stderr @@ -1,7 +1,7 @@ PolyKinds07.hs:10:11: - Data constructor ‛A1’ cannot be used here + Data constructor ‘A1’ cannot be used here (it is defined and used in the same recursive group) - In the type ‛B A1’ - In the definition of data constructor ‛B1’ - In the data declaration for ‛B’ + In the type ‘B A1’ + In the definition of data constructor ‘B1’ + In the data declaration for ‘B’ diff --git a/testsuite/tests/polykinds/T5716.stderr b/testsuite/tests/polykinds/T5716.stderr index f32e604c2c..227a6b88c6 100644 --- a/testsuite/tests/polykinds/T5716.stderr +++ b/testsuite/tests/polykinds/T5716.stderr @@ -1,4 +1,4 @@ T5716.hs:13:11: - ‛U’ of kind ‛*’ is not promotable - In the kind ‛U -> *’ + ‘U’ of kind ‘*’ is not promotable + In the kind ‘U -> *’ diff --git a/testsuite/tests/polykinds/T5716a.stderr b/testsuite/tests/polykinds/T5716a.stderr index e21d446678..5cee2edc2e 100644 --- a/testsuite/tests/polykinds/T5716a.stderr +++ b/testsuite/tests/polykinds/T5716a.stderr @@ -1,7 +1,7 @@ T5716a.hs:10:27: - Data constructor ‛Bar’ cannot be used here + Data constructor ‘Bar’ cannot be used here (it comes from a data family instance) - In the type ‛Bar a’ - In the definition of data constructor ‛Bar’ - In the data instance declaration for ‛DF’ + In the type ‘Bar a’ + In the definition of data constructor ‘Bar’ + In the data instance declaration for ‘DF’ diff --git a/testsuite/tests/polykinds/T6021.stderr b/testsuite/tests/polykinds/T6021.stderr index 706729113a..ea3b9e3427 100644 --- a/testsuite/tests/polykinds/T6021.stderr +++ b/testsuite/tests/polykinds/T6021.stderr @@ -1,4 +1,4 @@ T6021.hs:5:10: - Kind variable also used as type variable: ‛b’ + Kind variable also used as type variable: ‘b’ In an instance declaration diff --git a/testsuite/tests/polykinds/T6039.stderr b/testsuite/tests/polykinds/T6039.stderr index 20b947b861..def904ea33 100644 --- a/testsuite/tests/polykinds/T6039.stderr +++ b/testsuite/tests/polykinds/T6039.stderr @@ -1,4 +1,4 @@ T6039.hs:5:14: - Kind variable ‛j’ cannot appear in a function position - In the kind ‛j k’ + Kind variable ‘j’ cannot appear in a function position + In the kind ‘j k’ diff --git a/testsuite/tests/polykinds/T6054.stderr b/testsuite/tests/polykinds/T6054.stderr index c05dcd5935..645db8912f 100644 --- a/testsuite/tests/polykinds/T6054.stderr +++ b/testsuite/tests/polykinds/T6054.stderr @@ -2,8 +2,8 @@ T6054.hs:7:14:
No instance for (Bar '() a0)
arising from an expression type signature
- In the first argument of ‛print’, namely
- ‛(Proxy :: Bar () a => Proxy a)’
+ In the first argument of ‘print’, namely
+ ‘(Proxy :: Bar () a => Proxy a)’
In the expression: print (Proxy :: Bar () a => Proxy a)
- In an equation for ‛foo’:
+ In an equation for ‘foo’:
foo = print (Proxy :: Bar () a => Proxy a)
diff --git a/testsuite/tests/polykinds/T6129.stderr b/testsuite/tests/polykinds/T6129.stderr index 9b8d66f202..36b749680b 100644 --- a/testsuite/tests/polykinds/T6129.stderr +++ b/testsuite/tests/polykinds/T6129.stderr @@ -1,7 +1,7 @@ T6129.hs:12:11: - Data constructor ‛DInt’ cannot be used here + Data constructor ‘DInt’ cannot be used here (it comes from a data family instance) - In the type ‛X DInt’ - In the definition of data constructor ‛X1’ - In the data declaration for ‛X’ + In the type ‘X DInt’ + In the definition of data constructor ‘X1’ + In the data declaration for ‘X’ diff --git a/testsuite/tests/polykinds/T7053.stderr b/testsuite/tests/polykinds/T7053.stderr index f5c3efc4f9..c9ebcfe7b2 100644 --- a/testsuite/tests/polykinds/T7053.stderr +++ b/testsuite/tests/polykinds/T7053.stderr @@ -1,8 +1,8 @@ T7053.hs:6:52: Kind occurs check - The first argument of ‛a’ should have kind ‛k0’, - but ‛b’ has kind ‛k0 -> k1’ - In the type ‛TypeRep (a b)’ - In the definition of data constructor ‛TyApp’ - In the data declaration for ‛TypeRep’ + The first argument of ‘a’ should have kind ‘k0’, + but ‘b’ has kind ‘k0 -> k1’ + In the type ‘TypeRep (a b)’ + In the definition of data constructor ‘TyApp’ + In the data declaration for ‘TypeRep’ diff --git a/testsuite/tests/polykinds/T7151.stderr b/testsuite/tests/polykinds/T7151.stderr index 61949db94f..00fed221c1 100644 --- a/testsuite/tests/polykinds/T7151.stderr +++ b/testsuite/tests/polykinds/T7151.stderr @@ -1,4 +1,4 @@ T7151.hs:3:12: - Illegal type: ‛'[Int, String]’ + Illegal type: ‘'[Int, String]’ Perhaps you intended to use DataKinds diff --git a/testsuite/tests/polykinds/T7224.stderr b/testsuite/tests/polykinds/T7224.stderr index 1ae01218aa..90ebc0f3ec 100644 --- a/testsuite/tests/polykinds/T7224.stderr +++ b/testsuite/tests/polykinds/T7224.stderr @@ -1,5 +1,5 @@ T7224.hs:6:19: - Kind variable ‛i’ used as a type - In the type ‛a -> m i i a’ - In the class declaration for ‛PMonad'’ + Kind variable ‘i’ used as a type + In the type ‘a -> m i i a’ + In the class declaration for ‘PMonad'’ diff --git a/testsuite/tests/polykinds/T7230.stderr b/testsuite/tests/polykinds/T7230.stderr index ab9037da03..7e1a7ab88f 100644 --- a/testsuite/tests/polykinds/T7230.stderr +++ b/testsuite/tests/polykinds/T7230.stderr @@ -9,13 +9,13 @@ T7230.hs:48:32: bound by a pattern with constructor SCons :: forall (x :: k) (xs :: [k]). Sing x -> Sing xs -> Sing (x : xs), - in an equation for ‛crash’ + in an equation for ‘crash’ at T7230.hs:48:8-27 or from (xs1 ~ (x1 : xs2)) bound by a pattern with constructor SCons :: forall (x :: k) (xs :: [k]). Sing x -> Sing xs -> Sing (x : xs), - in an equation for ‛crash’ + in an equation for ‘crash’ at T7230.hs:48:17-26 Expected type: SBool (Increasing xs) Actual type: SBool (x :<<= x1) @@ -23,5 +23,5 @@ T7230.hs:48:32: y :: Sing x1 (bound at T7230.hs:48:23) x :: Sing x (bound at T7230.hs:48:14) In the expression: x %:<<= y - In an equation for ‛crash’: + In an equation for ‘crash’: crash (SCons x (SCons y xs)) = x %:<<= y diff --git a/testsuite/tests/polykinds/T7278.stderr b/testsuite/tests/polykinds/T7278.stderr index a242e5aaf8..f24f9b2aad 100644 --- a/testsuite/tests/polykinds/T7278.stderr +++ b/testsuite/tests/polykinds/T7278.stderr @@ -1,5 +1,5 @@ T7278.hs:8:43: - ‛t’ is applied to too many type arguments - In the type signature for ‛f’: + ‘t’ is applied to too many type arguments + In the type signature for ‘f’: f :: C (t :: k) (TF t) => TF t p1 p0 -> t p1 p0 diff --git a/testsuite/tests/polykinds/T7328.stderr b/testsuite/tests/polykinds/T7328.stderr index 54508c0773..7fcd8edf90 100644 --- a/testsuite/tests/polykinds/T7328.stderr +++ b/testsuite/tests/polykinds/T7328.stderr @@ -1,7 +1,7 @@ T7328.hs:8:34: Kind occurs check - The first argument of ‛Foo’ should have kind ‛k0’, - but ‛f’ has kind ‛k1 -> k0’ - In the type ‛a ~ f i => Proxy (Foo f)’ - In the class declaration for ‛Foo’ + The first argument of ‘Foo’ should have kind ‘k0’, + but ‘f’ has kind ‘k1 -> k0’ + In the type ‘a ~ f i => Proxy (Foo f)’ + In the class declaration for ‘Foo’ diff --git a/testsuite/tests/polykinds/T7341.stderr b/testsuite/tests/polykinds/T7341.stderr index 36ab4eaaf2..c5dd260660 100644 --- a/testsuite/tests/polykinds/T7341.stderr +++ b/testsuite/tests/polykinds/T7341.stderr @@ -1,6 +1,6 @@ T7341.hs:11:12: - Expecting one more argument to ‛[]’ - The first argument of ‛C’ should have kind ‛*’, - but ‛[]’ has kind ‛* -> *’ - In the instance declaration for ‛C []’ + Expecting one more argument to ‘[]’ + The first argument of ‘C’ should have kind ‘*’, + but ‘[]’ has kind ‘* -> *’ + In the instance declaration for ‘C []’ diff --git a/testsuite/tests/polykinds/T7404.stderr b/testsuite/tests/polykinds/T7404.stderr index a228e0c1ba..d9d4288c56 100644 --- a/testsuite/tests/polykinds/T7404.stderr +++ b/testsuite/tests/polykinds/T7404.stderr @@ -1,4 +1,4 @@ T7404.hs:4:1: - Kind variable also used as type variable: ‛x’ - In the declaration for type family ‛Foo’ + Kind variable also used as type variable: ‘x’ + In the declaration for type family ‘Foo’ diff --git a/testsuite/tests/polykinds/T7433.stderr b/testsuite/tests/polykinds/T7433.stderr index 97ba56e195..d3f57a9ee7 100644 --- a/testsuite/tests/polykinds/T7433.stderr +++ b/testsuite/tests/polykinds/T7433.stderr @@ -1,6 +1,6 @@ T7433.hs:2:10: - Data constructor ‛Z’ cannot be used here + Data constructor ‘Z’ cannot be used here (Perhaps you intended to use DataKinds) - In the type ‛Z’ - In the type declaration for ‛T’ + In the type ‘Z’ + In the type declaration for ‘T’ diff --git a/testsuite/tests/polykinds/T7438.stderr b/testsuite/tests/polykinds/T7438.stderr index 3f8ba8981e..92e01e7479 100644 --- a/testsuite/tests/polykinds/T7438.stderr +++ b/testsuite/tests/polykinds/T7438.stderr @@ -1,18 +1,18 @@ T7438.hs:6:14:
- Couldn't match expected type ‛t1’ with actual type ‛t’
- ‛t’ is untouchable
+ Couldn't match expected type ‘t1’ with actual type ‘t’
+ ‘t’ is untouchable
inside the constraints (t2 ~ t3)
bound by a pattern with constructor
Nil :: forall (a :: k). Thrist a a,
- in an equation for ‛go’
+ in an equation for ‘go’
at T7438.hs:6:4-6
- ‛t’ is a rigid type variable bound by
+ ‘t’ is a rigid type variable bound by
the inferred type of go :: Thrist t2 t3 -> t -> t1 at T7438.hs:6:1
- ‛t1’ is a rigid type variable bound by
+ ‘t1’ is a rigid type variable bound by
the inferred type of go :: Thrist t2 t3 -> t -> t1 at T7438.hs:6:1
Relevant bindings include
acc :: t (bound at T7438.hs:6:8)
go :: Thrist t2 t3 -> t -> t1 (bound at T7438.hs:6:1)
In the expression: acc
- In an equation for ‛go’: go Nil acc = acc
+ In an equation for ‘go’: go Nil acc = acc
diff --git a/testsuite/tests/polykinds/T7481.stderr b/testsuite/tests/polykinds/T7481.stderr index bd2d679c3c..cca905d5e5 100644 --- a/testsuite/tests/polykinds/T7481.stderr +++ b/testsuite/tests/polykinds/T7481.stderr @@ -1,4 +1,4 @@ T7481.hs:12:13: - ‛D’ of kind ‛* -> *’ is not promotable - In the kind ‛D * -> *’ + ‘D’ of kind ‘* -> *’ is not promotable + In the kind ‘D * -> *’ diff --git a/testsuite/tests/polykinds/T7594.stderr b/testsuite/tests/polykinds/T7594.stderr index 08bc36e02b..a01b24d7aa 100644 --- a/testsuite/tests/polykinds/T7594.stderr +++ b/testsuite/tests/polykinds/T7594.stderr @@ -1,14 +1,14 @@ T7594.hs:33:12: - Couldn't match type ‛b’ with ‛IO ()’ - ‛b’ is untouchable + Couldn't match type ‘b’ with ‘IO ()’ + ‘b’ is untouchable inside the constraints ((:&:) c0 Real a) bound by a type expected by the context: (:&:) c0 Real a => a -> b at T7594.hs:33:8-19 - ‛b’ is a rigid type variable bound by + ‘b’ is a rigid type variable bound by the inferred type of bar2 :: b at T7594.hs:33:1 Expected type: a -> b Actual type: a -> IO () Relevant bindings include bar2 :: b (bound at T7594.hs:33:1) - In the first argument of ‛app’, namely ‛print’ + In the first argument of ‘app’, namely ‘print’ In the expression: app print q2 diff --git a/testsuite/tests/polykinds/T7805.stderr b/testsuite/tests/polykinds/T7805.stderr index db9761a770..bdf0f21b14 100644 --- a/testsuite/tests/polykinds/T7805.stderr +++ b/testsuite/tests/polykinds/T7805.stderr @@ -1,4 +1,4 @@ T7805.hs:6:21: - ‛HigherRank’ of kind ‛*’ is not promotable - In the kind ‛HigherRank’ + ‘HigherRank’ of kind ‘*’ is not promotable + In the kind ‘HigherRank’ diff --git a/testsuite/tests/polykinds/T7939a.stderr b/testsuite/tests/polykinds/T7939a.stderr index 7485eb019f..09b818a5b5 100644 --- a/testsuite/tests/polykinds/T7939a.stderr +++ b/testsuite/tests/polykinds/T7939a.stderr @@ -1,7 +1,7 @@ T7939a.hs:7:5: - Expecting one more argument to ‛Maybe’ - The first argument of ‛F’ should have kind ‛*’, - but ‛Maybe’ has kind ‛* -> *’ - In the type ‛Maybe’ - In the family declaration for ‛F’ + Expecting one more argument to ‘Maybe’ + The first argument of ‘F’ should have kind ‘*’, + but ‘Maybe’ has kind ‘* -> *’ + In the type ‘Maybe’ + In the family declaration for ‘F’ diff --git a/testsuite/tests/polykinds/T8566.stderr b/testsuite/tests/polykinds/T8566.stderr index 639f72be57..4638fd8c4d 100644 --- a/testsuite/tests/polykinds/T8566.stderr +++ b/testsuite/tests/polykinds/T8566.stderr @@ -1,18 +1,18 @@ T8566.hs:31:9: Could not deduce (C ('AA (t (I a ps)) as) ps fs0) - arising from a use of ‛c’ + arising from a use of ‘c’ from the context (C ('AA (t (I a ps)) as) ps fs) bound by the instance declaration at T8566.hs:29:10-67 or from ('AA t (a : as) ~ 'AA t1 as1) bound by a pattern with constructor A :: forall (r :: [*]) (t :: k) (as :: [U *]). I ('AA t as) r, - in an equation for ‛c’ + in an equation for ‘c’ at T8566.hs:31:5 - The type variable ‛fs0’ is ambiguous + The type variable ‘fs0’ is ambiguous Relevant bindings include c :: I ('AA t (a : as)) ps -> I ('AA t (a : as)) ps (bound at T8566.hs:31:3) In the expression: c undefined - In an equation for ‛c’: c A = c undefined - In the instance declaration for ‛C ('AA t (a : as)) ps fs’ + In an equation for ‘c’: c A = c undefined + In the instance declaration for ‘C ('AA t (a : as)) ps fs’ diff --git a/testsuite/tests/polykinds/T8616.stderr b/testsuite/tests/polykinds/T8616.stderr index 4e1b9ec371..5c8449826d 100644 --- a/testsuite/tests/polykinds/T8616.stderr +++ b/testsuite/tests/polykinds/T8616.stderr @@ -1,7 +1,7 @@ T8616.hs:8:29: - Expected a type, but ‛Any’ has kind ‛k’ + Expected a type, but ‘Any’ has kind ‘k’ In an expression type signature: (Any :: k) In the expression: undefined :: (Any :: k) - In an equation for ‛withSomeSing’: + In an equation for ‘withSomeSing’: withSomeSing = undefined :: (Any :: k) diff --git a/testsuite/tests/programs/hs-boot/hs-boot.stderr b/testsuite/tests/programs/hs-boot/hs-boot.stderr index b171e1b547..42ca073117 100644 --- a/testsuite/tests/programs/hs-boot/hs-boot.stderr +++ b/testsuite/tests/programs/hs-boot/hs-boot.stderr @@ -1,2 +1,2 @@ -B.hs:5:23: Warning: {-# SOURCE #-} unnecessary in import of ‛A’ +B.hs:5:23: Warning: {-# SOURCE #-} unnecessary in import of ‘A’ diff --git a/testsuite/tests/quasiquotation/T3953.stderr b/testsuite/tests/quasiquotation/T3953.stderr index bd2b0fed56..0a067dd4b2 100644 --- a/testsuite/tests/quasiquotation/T3953.stderr +++ b/testsuite/tests/quasiquotation/T3953.stderr @@ -1,2 +1,2 @@ -T3953.hs:5:7: Not in scope: ‛notDefinedHere’ +T3953.hs:5:7: Not in scope: ‘notDefinedHere’ diff --git a/testsuite/tests/rebindable/rebindable6.stderr b/testsuite/tests/rebindable/rebindable6.stderr index 6833a511fd..4d22904d6e 100644 --- a/testsuite/tests/rebindable/rebindable6.stderr +++ b/testsuite/tests/rebindable/rebindable6.stderr @@ -2,7 +2,7 @@ rebindable6.hs:106:17: No instance for (HasSeq (IO a -> t0 -> IO b)) arising from a do statement - The type variable ‛t0’ is ambiguous + The type variable ‘t0’ is ambiguous Relevant bindings include g :: IO (Maybe b) (bound at rebindable6.hs:104:19) f :: IO a (bound at rebindable6.hs:104:17) @@ -16,7 +16,7 @@ rebindable6.hs:106:17: do { f; Just (b :: b) <- g; return b } - In an equation for ‛test_do’: + In an equation for ‘test_do’: test_do f g = do { f; Just (b :: b) <- g; @@ -25,7 +25,7 @@ rebindable6.hs:106:17: rebindable6.hs:107:17: No instance for (HasBind (IO (Maybe b) -> (Maybe b -> t1) -> t0)) arising from a do statement - The type variables ‛t0’, ‛t1’ are ambiguous + The type variables ‘t0’, ‘t1’ are ambiguous Relevant bindings include g :: IO (Maybe b) (bound at rebindable6.hs:104:19) test_do :: IO a -> IO (Maybe b) -> IO b @@ -38,7 +38,7 @@ rebindable6.hs:107:17: do { f; Just (b :: b) <- g; return b } - In an equation for ‛test_do’: + In an equation for ‘test_do’: test_do f g = do { f; Just (b :: b) <- g; @@ -46,8 +46,8 @@ rebindable6.hs:107:17: rebindable6.hs:108:17: No instance for (HasReturn (b -> t1)) - arising from a use of ‛return’ - The type variable ‛t1’ is ambiguous + arising from a use of ‘return’ + The type variable ‘t1’ is ambiguous Relevant bindings include b :: b (bound at rebindable6.hs:107:23) g :: IO (Maybe b) (bound at rebindable6.hs:104:19) @@ -60,7 +60,7 @@ rebindable6.hs:108:17: do { f; Just (b :: b) <- g; return b } - In an equation for ‛test_do’: + In an equation for ‘test_do’: test_do f g = do { f; Just (b :: b) <- g; diff --git a/testsuite/tests/rename/prog002/rename.prog002.stderr b/testsuite/tests/rename/prog002/rename.prog002.stderr index 3d488acb5a..b9dbf7f54a 100644 --- a/testsuite/tests/rename/prog002/rename.prog002.stderr +++ b/testsuite/tests/rename/prog002/rename.prog002.stderr @@ -1,2 +1,2 @@ -rnfail037.hs:8:7: Not in scope: data constructor ‛Rn037Help.C’ +rnfail037.hs:8:7: Not in scope: data constructor ‘Rn037Help.C’ diff --git a/testsuite/tests/rename/prog003/rename.prog003.stderr b/testsuite/tests/rename/prog003/rename.prog003.stderr index 42cc924bea..7a0b5244c0 100644 --- a/testsuite/tests/rename/prog003/rename.prog003.stderr +++ b/testsuite/tests/rename/prog003/rename.prog003.stderr @@ -1,2 +1,2 @@ -B.hs:4:6: Not in scope: type constructor or class ‛Class’ +B.hs:4:6: Not in scope: type constructor or class ‘Class’ diff --git a/testsuite/tests/rename/should_compile/T1789.stderr b/testsuite/tests/rename/should_compile/T1789.stderr index 3fd1f1a037..e4057921d5 100644 --- a/testsuite/tests/rename/should_compile/T1789.stderr +++ b/testsuite/tests/rename/should_compile/T1789.stderr @@ -1,12 +1,12 @@ T1789.hs:6:1: Warning: - The module ‛Prelude’ does not have an explicit import list + The module ‘Prelude’ does not have an explicit import list T1789.hs:7:1: Warning: - The module ‛Data.Map’ does not have an explicit import list + The module ‘Data.Map’ does not have an explicit import list T1789.hs:9:1: Warning: - The import item ‛Maybe(..)’ does not have an explicit import list + The import item ‘Maybe(..)’ does not have an explicit import list T1789.hs:10:1: Warning: - The module ‛Data.Maybe’ does not have an explicit import list + The module ‘Data.Maybe’ does not have an explicit import list diff --git a/testsuite/tests/rename/should_compile/T1972.stderr b/testsuite/tests/rename/should_compile/T1972.stderr index 1cb78fbc29..e8e8f39a6b 100644 --- a/testsuite/tests/rename/should_compile/T1972.stderr +++ b/testsuite/tests/rename/should_compile/T1972.stderr @@ -1,11 +1,11 @@ T1972.hs:12:3: Warning: - This binding for ‛name’ shadows the existing binding + 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 + This binding for ‘mapAccumL’ shadows the existing bindings defined at T1972.hs:16:1 - imported from ‛Data.List’ at T1972.hs:7:1-16 + imported from ‘Data.List’ at T1972.hs:7:1-16 -T1972.hs:20:10: Warning: Defined but not used: ‛c’ +T1972.hs:20:10: Warning: Defined but not used: ‘c’ diff --git a/testsuite/tests/rename/should_compile/T3103/T3103.stderr b/testsuite/tests/rename/should_compile/T3103/T3103.stderr index ed041023e9..f1d4c531fa 100644 --- a/testsuite/tests/rename/should_compile/T3103/T3103.stderr +++ b/testsuite/tests/rename/should_compile/T3103/T3103.stderr @@ -1,3 +1,3 @@ GHC/Word.hs:10:23: - Warning: {-# SOURCE #-} unnecessary in import of ‛GHC.Unicode’ + Warning: {-# SOURCE #-} unnecessary in import of ‘GHC.Unicode’ diff --git a/testsuite/tests/rename/should_compile/T3262.stderr-ghc b/testsuite/tests/rename/should_compile/T3262.stderr-ghc index b3250fd5a3..0639076dc0 100644 --- a/testsuite/tests/rename/should_compile/T3262.stderr-ghc +++ b/testsuite/tests/rename/should_compile/T3262.stderr-ghc @@ -1,8 +1,8 @@ T3262.hs:12:11: Warning: - This binding for ‛not_ignored’ shadows the existing binding + This binding for ‘not_ignored’ shadows the existing binding bound at T3262.hs:11:11 T3262.hs:20:15: Warning: - This binding for ‛not_ignored’ shadows the existing binding + This binding for ‘not_ignored’ shadows the existing binding bound at T3262.hs:19:15 diff --git a/testsuite/tests/rename/should_compile/T3371.stderr b/testsuite/tests/rename/should_compile/T3371.stderr index 944739e45a..20a597fd3e 100644 --- a/testsuite/tests/rename/should_compile/T3371.stderr +++ b/testsuite/tests/rename/should_compile/T3371.stderr @@ -1,2 +1,2 @@ -T3371.hs:10:14: Warning: Defined but not used: ‛a’ +T3371.hs:10:14: Warning: Defined but not used: ‘a’ diff --git a/testsuite/tests/rename/should_compile/T3449.stderr b/testsuite/tests/rename/should_compile/T3449.stderr index 32ddc6f35d..bfb0021140 100644 --- a/testsuite/tests/rename/should_compile/T3449.stderr +++ b/testsuite/tests/rename/should_compile/T3449.stderr @@ -1,2 +1,2 @@ -T3449.hs-boot:8:1: Warning: Defined but not used: ‛unused’ +T3449.hs-boot:8:1: Warning: Defined but not used: ‘unused’ diff --git a/testsuite/tests/rename/should_compile/T3823.stderr b/testsuite/tests/rename/should_compile/T3823.stderr index 4672d3ccb8..8ab375fcd4 100644 --- a/testsuite/tests/rename/should_compile/T3823.stderr +++ b/testsuite/tests/rename/should_compile/T3823.stderr @@ -1,5 +1,5 @@ T3823B.hs:8:7: - Couldn't match expected type ‛A’ with actual type ‛Bool’ - In the first argument of ‛y’, namely ‛a’ + Couldn't match expected type ‘A’ with actual type ‘Bool’ + In the first argument of ‘y’, namely ‘a’ In the expression: y a diff --git a/testsuite/tests/rename/should_compile/T4489.stderr b/testsuite/tests/rename/should_compile/T4489.stderr index 5fd076ee42..2e7f9186a8 100644 --- a/testsuite/tests/rename/should_compile/T4489.stderr +++ b/testsuite/tests/rename/should_compile/T4489.stderr @@ -1,6 +1,6 @@ T4489.hs:4:1: Warning: - The module ‛Data.Maybe’ does not have an explicit import list + The module ‘Data.Maybe’ does not have an explicit import list T4489.hs:5:1: Warning: - The import item ‛Maybe(..)’ does not have an explicit import list + The import item ‘Maybe(..)’ does not have an explicit import list diff --git a/testsuite/tests/rename/should_compile/T5331.stderr b/testsuite/tests/rename/should_compile/T5331.stderr index e78dd64daf..562aa69978 100644 --- a/testsuite/tests/rename/should_compile/T5331.stderr +++ b/testsuite/tests/rename/should_compile/T5331.stderr @@ -1,13 +1,13 @@ T5331.hs:8:17: Warning: - Unused quantified type variable ‛a’ - In the definition of data constructor ‛S1’ + Unused quantified type variable ‘a’ + In the definition of data constructor ‘S1’ T5331.hs:11:16: Warning: - Unused quantified type variable ‛a’ - In the definition of data constructor ‛W1’ + Unused quantified type variable ‘a’ + In the definition of data constructor ‘W1’ T5331.hs:13:13: Warning: - Unused quantified type variable ‛a’ - In the type ‛forall a. Int’ - In the type signature for ‛f’ + Unused quantified type variable ‘a’ + In the type ‘forall a. Int’ + In the type signature for ‘f’ diff --git a/testsuite/tests/rename/should_compile/T5334.stderr b/testsuite/tests/rename/should_compile/T5334.stderr index 2985386338..866eae20fc 100644 --- a/testsuite/tests/rename/should_compile/T5334.stderr +++ b/testsuite/tests/rename/should_compile/T5334.stderr @@ -1,13 +1,13 @@ T5334.hs:7:5: Warning: - Fields of ‛T’ not initialised: b + Fields of ‘T’ not initialised: b In the expression: T {..} - In an equation for ‛t’: + In an equation for ‘t’: t = T {..} where a = 1 T5334.hs:14:5: Warning: - Fields of ‛S’ not initialised: y + Fields of ‘S’ not initialised: y In the expression: S {x = 1} - In an equation for ‛s’: s = S {x = 1} + In an equation for ‘s’: s = S {x = 1} diff --git a/testsuite/tests/rename/should_compile/T5867.stderr b/testsuite/tests/rename/should_compile/T5867.stderr index 0ada9be52c..b347240a9e 100644 --- a/testsuite/tests/rename/should_compile/T5867.stderr +++ b/testsuite/tests/rename/should_compile/T5867.stderr @@ -1,8 +1,8 @@ T5867.hs:4:7: Warning: - In the use of ‛f’ (imported from T5867a): + In the use of ‘f’ (imported from T5867a): Deprecated: "Don't use f!" T5867.hs:5:7: Warning: - In the use of ‛f’ (imported from T5867a): + In the use of ‘f’ (imported from T5867a): Deprecated: "Don't use f!" diff --git a/testsuite/tests/rename/should_compile/T7145b.stderr b/testsuite/tests/rename/should_compile/T7145b.stderr index 1839bf7ad3..12ce9a5b72 100644 --- a/testsuite/tests/rename/should_compile/T7145b.stderr +++ b/testsuite/tests/rename/should_compile/T7145b.stderr @@ -1,2 +1,2 @@ -T7145b.hs:10:1: Warning: Defined but not used: ‛pure’ +T7145b.hs:10:1: Warning: Defined but not used: ‘pure’ diff --git a/testsuite/tests/rename/should_compile/T7167.stderr b/testsuite/tests/rename/should_compile/T7167.stderr index cddbbfe74d..ecad80cfd2 100644 --- a/testsuite/tests/rename/should_compile/T7167.stderr +++ b/testsuite/tests/rename/should_compile/T7167.stderr @@ -1,2 +1,2 @@ -T7167.hs:5:1: Warning: Module ‛Data.List’ does not export ‛foo’ +T7167.hs:5:1: Warning: Module ‘Data.List’ does not export ‘foo’ diff --git a/testsuite/tests/rename/should_compile/T7336.stderr b/testsuite/tests/rename/should_compile/T7336.stderr index 0610b13e21..c8af8c5589 100644 --- a/testsuite/tests/rename/should_compile/T7336.stderr +++ b/testsuite/tests/rename/should_compile/T7336.stderr @@ -1,3 +1,3 @@ T7336.hs:3:10: Warning: - Defined but not used: data constructor ‛MkU’ + Defined but not used: data constructor ‘MkU’ diff --git a/testsuite/tests/rename/should_compile/mc10.stderr-ghc b/testsuite/tests/rename/should_compile/mc10.stderr-ghc index 56a21b8700..b0d32552b4 100644 --- a/testsuite/tests/rename/should_compile/mc10.stderr-ghc +++ b/testsuite/tests/rename/should_compile/mc10.stderr-ghc @@ -1,2 +1,2 @@ -mc10.hs:14:11: Warning: Defined but not used: ‛y’ +mc10.hs:14:11: Warning: Defined but not used: ‘y’ diff --git a/testsuite/tests/rename/should_compile/rn037.stderr-ghc b/testsuite/tests/rename/should_compile/rn037.stderr-ghc index ad171a4263..8dea678d42 100644 --- a/testsuite/tests/rename/should_compile/rn037.stderr-ghc +++ b/testsuite/tests/rename/should_compile/rn037.stderr-ghc @@ -1,5 +1,5 @@ rn037.hs:3:1: Warning: - The import of ‛Data.List’ is redundant - except perhaps to import instances from ‛Data.List’ + The import of ‘Data.List’ is redundant + except perhaps to import instances from ‘Data.List’ To import instances alone, use: import Data.List() diff --git a/testsuite/tests/rename/should_compile/rn039.stderr-ghc b/testsuite/tests/rename/should_compile/rn039.stderr-ghc index 2b87c367e3..de8618d5f0 100644 --- a/testsuite/tests/rename/should_compile/rn039.stderr-ghc +++ b/testsuite/tests/rename/should_compile/rn039.stderr-ghc @@ -1,5 +1,5 @@ rn039.hs:6:16: Warning: - This binding for ‛-’ shadows the existing binding - imported from ‛Prelude’ at rn039.hs:2:8-20 - (and originally defined in ‛GHC.Num’) + This binding for ‘-’ shadows the existing binding + imported from ‘Prelude’ at rn039.hs:2:8-20 + (and originally defined in ‘GHC.Num’) diff --git a/testsuite/tests/rename/should_compile/rn040.stderr-ghc b/testsuite/tests/rename/should_compile/rn040.stderr-ghc index f5802287b8..f482b47511 100644 --- a/testsuite/tests/rename/should_compile/rn040.stderr-ghc +++ b/testsuite/tests/rename/should_compile/rn040.stderr-ghc @@ -1,4 +1,4 @@ -rn040.hs:6:12: Warning: Defined but not used: ‛y’ +rn040.hs:6:12: Warning: Defined but not used: ‘y’ -rn040.hs:8:8: Warning: Defined but not used: ‛w’ +rn040.hs:8:8: Warning: Defined but not used: ‘w’ diff --git a/testsuite/tests/rename/should_compile/rn041.stderr-ghc b/testsuite/tests/rename/should_compile/rn041.stderr-ghc index fbf27899ad..e9c2727742 100644 --- a/testsuite/tests/rename/should_compile/rn041.stderr-ghc +++ b/testsuite/tests/rename/should_compile/rn041.stderr-ghc @@ -1,6 +1,6 @@ -rn041.hs:7:1: Warning: Defined but not used: ‛f’ +rn041.hs:7:1: Warning: Defined but not used: ‘f’ -rn041.hs:9:1: Warning: Defined but not used: ‛g’ +rn041.hs:9:1: Warning: Defined but not used: ‘g’ -rn041.hs:10:1: Warning: Defined but not used: ‛h’ +rn041.hs:10:1: Warning: Defined but not used: ‘h’ diff --git a/testsuite/tests/rename/should_compile/rn046.stderr-ghc b/testsuite/tests/rename/should_compile/rn046.stderr-ghc index 4335376137..c2a4195287 100644 --- a/testsuite/tests/rename/should_compile/rn046.stderr-ghc +++ b/testsuite/tests/rename/should_compile/rn046.stderr-ghc @@ -1,8 +1,8 @@ rn046.hs:2:1: Warning: - The import of ‛Data.List’ is redundant - except perhaps to import instances from ‛Data.List’ + The import of ‘Data.List’ is redundant + except perhaps to import instances from ‘Data.List’ To import instances alone, use: import Data.List() rn046.hs:3:1: Warning: - The import of ‛ord’ from module ‛Data.Char’ is redundant + The import of ‘ord’ from module ‘Data.Char’ is redundant diff --git a/testsuite/tests/rename/should_compile/rn047.stderr-ghc b/testsuite/tests/rename/should_compile/rn047.stderr-ghc index 588237d267..0987f356fa 100644 --- a/testsuite/tests/rename/should_compile/rn047.stderr-ghc +++ b/testsuite/tests/rename/should_compile/rn047.stderr-ghc @@ -1,2 +1,2 @@ -rn047.hs:12:11: Warning: Defined but not used: ‛y’ +rn047.hs:12:11: Warning: Defined but not used: ‘y’ diff --git a/testsuite/tests/rename/should_compile/rn050.stderr b/testsuite/tests/rename/should_compile/rn050.stderr index 2554787a45..472333ed57 100644 --- a/testsuite/tests/rename/should_compile/rn050.stderr +++ b/testsuite/tests/rename/should_compile/rn050.stderr @@ -1,8 +1,8 @@ rn050.hs:13:7: Warning: - In the use of ‛op’ (imported from Rn050_A): + In the use of ‘op’ (imported from Rn050_A): Deprecated: "Use bop instead" rn050.hs:13:10: Warning: - In the use of data constructor ‛C’ (imported from Rn050_A): + In the use of data constructor ‘C’ (imported from Rn050_A): Deprecated: "Use D instead" diff --git a/testsuite/tests/rename/should_compile/rn063.stderr b/testsuite/tests/rename/should_compile/rn063.stderr index 635ef98bd9..93cd8654f3 100644 --- a/testsuite/tests/rename/should_compile/rn063.stderr +++ b/testsuite/tests/rename/should_compile/rn063.stderr @@ -1,4 +1,4 @@ -rn063.hs:10:9: Warning: Defined but not used: ‛x’ +rn063.hs:10:9: Warning: Defined but not used: ‘x’ -rn063.hs:13:9: Warning: Defined but not used: ‛y’ +rn063.hs:13:9: Warning: Defined but not used: ‘y’ diff --git a/testsuite/tests/rename/should_compile/rn064.stderr b/testsuite/tests/rename/should_compile/rn064.stderr index 6ca77eaf25..09d95871de 100644 --- a/testsuite/tests/rename/should_compile/rn064.stderr +++ b/testsuite/tests/rename/should_compile/rn064.stderr @@ -1,4 +1,4 @@ rn064.hs:13:12: Warning: - This binding for ‛r’ shadows the existing binding + This binding for ‘r’ shadows the existing binding bound at rn064.hs:15:9 diff --git a/testsuite/tests/rename/should_compile/rn066.stderr b/testsuite/tests/rename/should_compile/rn066.stderr index 52e82e9e7a..b82b50fcdb 100644 --- a/testsuite/tests/rename/should_compile/rn066.stderr +++ b/testsuite/tests/rename/should_compile/rn066.stderr @@ -1,8 +1,8 @@ rn066.hs:13:7: Warning: - In the use of ‛op’ (imported from Rn066_A): + In the use of ‘op’ (imported from Rn066_A): "Is that really a good idea?" rn066.hs:13:10: Warning: - In the use of data constructor ‛C’ (imported from Rn066_A): + In the use of data constructor ‘C’ (imported from Rn066_A): "Are you sure you want to do that?" diff --git a/testsuite/tests/rename/should_fail/T1595a.stderr b/testsuite/tests/rename/should_fail/T1595a.stderr index f7dd8113f0..9705293a0a 100644 --- a/testsuite/tests/rename/should_fail/T1595a.stderr +++ b/testsuite/tests/rename/should_fail/T1595a.stderr @@ -1,2 +1,2 @@ -T1595a.hs:3:20: Not in scope: type constructor or class ‛Tpyo’ +T1595a.hs:3:20: Not in scope: type constructor or class ‘Tpyo’ diff --git a/testsuite/tests/rename/should_fail/T2310.stderr b/testsuite/tests/rename/should_fail/T2310.stderr index a5dd532a0c..807a574f75 100644 --- a/testsuite/tests/rename/should_fail/T2310.stderr +++ b/testsuite/tests/rename/should_fail/T2310.stderr @@ -1,10 +1,10 @@ T2310.hs:5:22: - Illegal result type signature ‛a’ + Illegal result type signature ‘a’ Result signatures are no longer supported in pattern matches In a lambda abstraction: \ x :: a -> (x :: a) T2310.hs:5:39: - Not in scope: ‛co’ + Not in scope: ‘co’ Perhaps you meant one of these: - ‛c’ (line 5), ‛cos’ (imported from Prelude) + ‘c’ (line 5), ‘cos’ (imported from Prelude) diff --git a/testsuite/tests/rename/should_fail/T2723.stderr b/testsuite/tests/rename/should_fail/T2723.stderr index b348161453..66b2deef47 100644 --- a/testsuite/tests/rename/should_fail/T2723.stderr +++ b/testsuite/tests/rename/should_fail/T2723.stderr @@ -1,4 +1,4 @@ T2723.hs:15:5: Warning: - This binding for ‛field3’ shadows the existing binding + This binding for ‘field3’ shadows the existing binding defined at T2723.hs:7:1 diff --git a/testsuite/tests/rename/should_fail/T2901.stderr b/testsuite/tests/rename/should_fail/T2901.stderr index fedaee6329..b240139bd8 100644 --- a/testsuite/tests/rename/should_fail/T2901.stderr +++ b/testsuite/tests/rename/should_fail/T2901.stderr @@ -1,4 +1,4 @@ -T2901.hs:6:5: Not in scope: data constructor ‛F.Foo’ +T2901.hs:6:5: Not in scope: data constructor ‘F.Foo’ -T2901.hs:6:13: ‛F.field’ is not a (visible) constructor field name +T2901.hs:6:13: ‘F.field’ is not a (visible) constructor field name diff --git a/testsuite/tests/rename/should_fail/T2993.stderr b/testsuite/tests/rename/should_fail/T2993.stderr index ec6fa1ea2a..00679dd1a5 100644 --- a/testsuite/tests/rename/should_fail/T2993.stderr +++ b/testsuite/tests/rename/should_fail/T2993.stderr @@ -1,2 +1,2 @@ -T2993.hs:7:13: Not in scope: ‛<$>’ +T2993.hs:7:13: Not in scope: ‘<$>’ diff --git a/testsuite/tests/rename/should_fail/T3265.stderr b/testsuite/tests/rename/should_fail/T3265.stderr index 185861a9df..999b6b3ed2 100644 --- a/testsuite/tests/rename/should_fail/T3265.stderr +++ b/testsuite/tests/rename/should_fail/T3265.stderr @@ -1,8 +1,8 @@ T3265.hs:7:8: - Illegal declaration of a type or class operator ‛:+:’ + Illegal declaration of a type or class operator ‘:+:’ Use TypeOperators to declare operators in type and declarations T3265.hs:9:9: - Illegal declaration of a type or class operator ‛:*:’ + Illegal declaration of a type or class operator ‘:*:’ Use TypeOperators to declare operators in type and declarations diff --git a/testsuite/tests/rename/should_fail/T5211.stderr b/testsuite/tests/rename/should_fail/T5211.stderr index 8dcc5b68bd..2a736dbdaa 100644 --- a/testsuite/tests/rename/should_fail/T5211.stderr +++ b/testsuite/tests/rename/should_fail/T5211.stderr @@ -1,5 +1,5 @@ T5211.hs:5:1: Warning: - The qualified import of ‛Foreign.Storable’ is redundant - except perhaps to import instances from ‛Foreign.Storable’ + The qualified import of ‘Foreign.Storable’ is redundant + except perhaps to import instances from ‘Foreign.Storable’ To import instances alone, use: import Foreign.Storable() diff --git a/testsuite/tests/rename/should_fail/T5281.stderr b/testsuite/tests/rename/should_fail/T5281.stderr index 99ad47b584..d8bcc8f787 100644 --- a/testsuite/tests/rename/should_fail/T5281.stderr +++ b/testsuite/tests/rename/should_fail/T5281.stderr @@ -1,4 +1,4 @@ T5281.hs:6:5: Warning: - In the use of ‛deprec’ (imported from T5281A): + In the use of ‘deprec’ (imported from T5281A): Deprecated: "This is deprecated" diff --git a/testsuite/tests/rename/should_fail/T5372.stderr b/testsuite/tests/rename/should_fail/T5372.stderr index 6677875083..9d3f06e7d4 100644 --- a/testsuite/tests/rename/should_fail/T5372.stderr +++ b/testsuite/tests/rename/should_fail/T5372.stderr @@ -1,6 +1,6 @@ T5372.hs:4:11: - Not in scope: data constructor ‛MkS’ - Perhaps you meant ‛T5372a.MkS’ (imported from T5372a) + Not in scope: data constructor ‘MkS’ + Perhaps you meant ‘T5372a.MkS’ (imported from T5372a) -T5372.hs:4:17: ‛x’ is not a (visible) constructor field name +T5372.hs:4:17: ‘x’ is not a (visible) constructor field name diff --git a/testsuite/tests/rename/should_fail/T5385.stderr b/testsuite/tests/rename/should_fail/T5385.stderr index 2c87a0a47a..677c31ff3e 100644 --- a/testsuite/tests/rename/should_fail/T5385.stderr +++ b/testsuite/tests/rename/should_fail/T5385.stderr @@ -1,8 +1,8 @@ T5385.hs:3:16: - In module ‛T5385a’: - ‛(:::)’ is a data constructor of ‛T’ + In module ‘T5385a’: + ‘(:::)’ is a data constructor of ‘T’ To import it use - ‛import’ T5385a( T( (:::) ) ) + ‘import’ T5385a( T( (:::) ) ) or - ‛import’ T5385a( T(..) ) + ‘import’ T5385a( T(..) ) diff --git a/testsuite/tests/rename/should_fail/T5533.stderr b/testsuite/tests/rename/should_fail/T5533.stderr index ce13e14e2e..5d514685d4 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: - The type signature for ‛f2’ lacks an accompanying binding + The type signature for ‘f2’ lacks an accompanying binding (You cannot give a type signature for a record selector or class method) diff --git a/testsuite/tests/rename/should_fail/T5589.stderr b/testsuite/tests/rename/should_fail/T5589.stderr index cf0c0a9a12..f3e5e8d05c 100644 --- a/testsuite/tests/rename/should_fail/T5589.stderr +++ b/testsuite/tests/rename/should_fail/T5589.stderr @@ -1,5 +1,5 @@ T5589.hs:4:1: - Duplicate type signatures for ‛aaa’ + Duplicate type signatures for ‘aaa’ at T5589.hs:3:6-8 T5589.hs:4:1-3 diff --git a/testsuite/tests/rename/should_fail/T5657.stderr b/testsuite/tests/rename/should_fail/T5657.stderr index 17a223d41c..aa5f870b7b 100644 --- a/testsuite/tests/rename/should_fail/T5657.stderr +++ b/testsuite/tests/rename/should_fail/T5657.stderr @@ -1,5 +1,5 @@ -T5657.hs:3:8: Not in scope: ‛LT..’ +T5657.hs:3:8: Not in scope: ‘LT..’ T5657.hs:3:8: A section must be enclosed in parentheses thus: (LT.. GT) diff --git a/testsuite/tests/rename/should_fail/T5745.stderr b/testsuite/tests/rename/should_fail/T5745.stderr index b71e1e2057..577ae069b3 100644 --- a/testsuite/tests/rename/should_fail/T5745.stderr +++ b/testsuite/tests/rename/should_fail/T5745.stderr @@ -1,2 +1,2 @@ -T5745.hs:5:6: Not in scope: type constructor or class ‛T’ +T5745.hs:5:6: Not in scope: type constructor or class ‘T’ diff --git a/testsuite/tests/rename/should_fail/T5892a.stderr b/testsuite/tests/rename/should_fail/T5892a.stderr index a378dc3919..1600d8fa39 100644 --- a/testsuite/tests/rename/should_fail/T5892a.stderr +++ b/testsuite/tests/rename/should_fail/T5892a.stderr @@ -1,9 +1,9 @@ T5892a.hs:12:8: Warning: - Fields of ‛Version’ not initialised: Data.Version.versionTags + Fields of ‘Version’ not initialised: Data.Version.versionTags In the expression: Version {..} In the expression: let versionBranch = [] in Version {..} - In an equation for ‛foo’: + In an equation for ‘foo’: foo (Version {..}) = let versionBranch = ... in Version {..} <no location info>: diff --git a/testsuite/tests/rename/should_fail/T5892b.stderr b/testsuite/tests/rename/should_fail/T5892b.stderr index 10d1fd139e..3d25973fc2 100644 --- a/testsuite/tests/rename/should_fail/T5892b.stderr +++ b/testsuite/tests/rename/should_fail/T5892b.stderr @@ -1,4 +1,4 @@ T5892b.hs:11:7: - Not in scope: ‛T5892b.versionTags’ - Perhaps you meant ‛T5892b.versionBranch’ (line 7) + Not in scope: ‘T5892b.versionTags’ + Perhaps you meant ‘T5892b.versionBranch’ (line 7) diff --git a/testsuite/tests/rename/should_fail/T7164.stderr b/testsuite/tests/rename/should_fail/T7164.stderr index 5e27fb876d..8049b27cde 100644 --- a/testsuite/tests/rename/should_fail/T7164.stderr +++ b/testsuite/tests/rename/should_fail/T7164.stderr @@ -1,5 +1,5 @@ T7164.hs:8:1: - Multiple declarations of ‛derp’ + Multiple declarations of ‘derp’ Declared at: T7164.hs:5:5 T7164.hs:8:1 diff --git a/testsuite/tests/rename/should_fail/T7338.stderr b/testsuite/tests/rename/should_fail/T7338.stderr index b1e6e5c803..ceb6753a22 100644 --- a/testsuite/tests/rename/should_fail/T7338.stderr +++ b/testsuite/tests/rename/should_fail/T7338.stderr @@ -1,6 +1,6 @@ T7338.hs:4:1: - Duplicate type signatures for ‛a’ + Duplicate type signatures for ‘a’ at T7338.hs:3:1 T7338.hs:3:4 T7338.hs:4:1 diff --git a/testsuite/tests/rename/should_fail/T7338a.stderr b/testsuite/tests/rename/should_fail/T7338a.stderr index b4b00a3590..8d6d00097c 100644 --- a/testsuite/tests/rename/should_fail/T7338a.stderr +++ b/testsuite/tests/rename/should_fail/T7338a.stderr @@ -1,10 +1,10 @@ T7338a.hs:7:4: - Duplicate type signatures for ‛a’ + Duplicate type signatures for ‘a’ at T7338a.hs:3:1 T7338a.hs:7:4 T7338a.hs:10:1: - Duplicate type signatures for ‛c’ + Duplicate type signatures for ‘c’ at T7338a.hs:7:1 T7338a.hs:10:1 diff --git a/testsuite/tests/rename/should_fail/T7454.stderr b/testsuite/tests/rename/should_fail/T7454.stderr index a8d11886e4..9f8998591a 100644 --- a/testsuite/tests/rename/should_fail/T7454.stderr +++ b/testsuite/tests/rename/should_fail/T7454.stderr @@ -1,3 +1,3 @@ T7454.hs:5:1: Warning: - The import of ‛Arrow’ from module ‛Control.Arrow’ is redundant + The import of ‘Arrow’ from module ‘Control.Arrow’ is redundant diff --git a/testsuite/tests/rename/should_fail/T7906.stderr b/testsuite/tests/rename/should_fail/T7906.stderr index 30ccbed6e9..3f06d8b2fb 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: - The INLINABLE pragma for ‛foo’ lacks an accompanying binding + The INLINABLE pragma for ‘foo’ lacks an accompanying binding (You cannot give a INLINABLE pragma for a record selector or class method) diff --git a/testsuite/tests/rename/should_fail/T7937.stderr b/testsuite/tests/rename/should_fail/T7937.stderr index 09eb845cbd..3bae064072 100644 --- a/testsuite/tests/rename/should_fail/T7937.stderr +++ b/testsuite/tests/rename/should_fail/T7937.stderr @@ -1,4 +1,4 @@ T7937.hs:8:13: - Not in scope: ‛***’ - Perhaps you meant ‛**’ (imported from Prelude) + Not in scope: ‘***’ + Perhaps you meant ‘**’ (imported from Prelude) diff --git a/testsuite/tests/rename/should_fail/T8448.stderr b/testsuite/tests/rename/should_fail/T8448.stderr index 28bfacf62c..e5834fbcaf 100644 --- a/testsuite/tests/rename/should_fail/T8448.stderr +++ b/testsuite/tests/rename/should_fail/T8448.stderr @@ -1,2 +1,2 @@ -T8448.hs:5:21: ‛r’ is not a (visible) field of constructor ‛[]’ +T8448.hs:5:21: ‘r’ is not a (visible) field of constructor ‘[]’ diff --git a/testsuite/tests/rename/should_fail/mc13.stderr b/testsuite/tests/rename/should_fail/mc13.stderr index 3cf06955a4..4d615c2f23 100644 --- a/testsuite/tests/rename/should_fail/mc13.stderr +++ b/testsuite/tests/rename/should_fail/mc13.stderr @@ -1,2 +1,2 @@ -mc13.hs:12:37: Not in scope: ‛f’ +mc13.hs:12:37: Not in scope: ‘f’ diff --git a/testsuite/tests/rename/should_fail/mc14.stderr b/testsuite/tests/rename/should_fail/mc14.stderr index 28d2ca2241..04321ff524 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: Not in scope: ‛f’ +mc14.hs:14:49: Not in scope: ‘f’ diff --git a/testsuite/tests/rename/should_fail/rn_dup.stderr b/testsuite/tests/rename/should_fail/rn_dup.stderr index f0d101c0a3..961e420ac7 100644 --- a/testsuite/tests/rename/should_fail/rn_dup.stderr +++ b/testsuite/tests/rename/should_fail/rn_dup.stderr @@ -1,22 +1,22 @@ rn_dup.hs:9:10: - Multiple declarations of ‛MkT’ + Multiple declarations of ‘MkT’ Declared at: rn_dup.hs:7:10 rn_dup.hs:7:16 rn_dup.hs:9:10 rn_dup.hs:12:16: - Multiple declarations of ‛rf’ + Multiple declarations of ‘rf’ Declared at: rn_dup.hs:11:16 rn_dup.hs:11:27 rn_dup.hs:12:16 rn_dup.hs:17:3: - Multiple declarations of ‛CT’ + Multiple declarations of ‘CT’ Declared at: rn_dup.hs:15:3 rn_dup.hs:17:3 rn_dup.hs:18:3: - Multiple declarations of ‛f’ + Multiple declarations of ‘f’ Declared at: rn_dup.hs:16:3 rn_dup.hs:18:3 diff --git a/testsuite/tests/rename/should_fail/rnfail001.stderr b/testsuite/tests/rename/should_fail/rnfail001.stderr index d8baefcb42..3046ff10a1 100644 --- a/testsuite/tests/rename/should_fail/rnfail001.stderr +++ b/testsuite/tests/rename/should_fail/rnfail001.stderr @@ -1,6 +1,6 @@ rnfail001.hs:3:3: - Conflicting definitions for ‛x’ + Conflicting definitions for ‘x’ Bound at: rnfail001.hs:3:3 rnfail001.hs:3:5 - In an equation for ‛f’ + In an equation for ‘f’ diff --git a/testsuite/tests/rename/should_fail/rnfail002.stderr b/testsuite/tests/rename/should_fail/rnfail002.stderr index 6c15ef103d..ffa05e767d 100644 --- a/testsuite/tests/rename/should_fail/rnfail002.stderr +++ b/testsuite/tests/rename/should_fail/rnfail002.stderr @@ -1,5 +1,5 @@ rnfail002.hs:6:1: - Multiple declarations of ‛y’ + Multiple declarations of ‘y’ Declared at: rnfail002.hs:5:1 rnfail002.hs:6:1 diff --git a/testsuite/tests/rename/should_fail/rnfail003.stderr b/testsuite/tests/rename/should_fail/rnfail003.stderr index 0482332626..24c74a6cbb 100644 --- a/testsuite/tests/rename/should_fail/rnfail003.stderr +++ b/testsuite/tests/rename/should_fail/rnfail003.stderr @@ -1,5 +1,5 @@ rnfail003.hs:4:1: - Multiple declarations of ‛f’ + Multiple declarations of ‘f’ Declared at: rnfail003.hs:2:1 rnfail003.hs:4:1 diff --git a/testsuite/tests/rename/should_fail/rnfail004.stderr b/testsuite/tests/rename/should_fail/rnfail004.stderr index 23e22fe28f..6e9a61f6ea 100644 --- a/testsuite/tests/rename/should_fail/rnfail004.stderr +++ b/testsuite/tests/rename/should_fail/rnfail004.stderr @@ -1,10 +1,10 @@ rnfail004.hs:6:5: - Conflicting definitions for ‛a’ + Conflicting definitions for ‘a’ Bound at: rnfail004.hs:6:5 rnfail004.hs:7:10 rnfail004.hs:7:6: - Conflicting definitions for ‛b’ + Conflicting definitions for ‘b’ Bound at: rnfail004.hs:7:6 rnfail004.hs:8:8 diff --git a/testsuite/tests/rename/should_fail/rnfail007.stderr b/testsuite/tests/rename/should_fail/rnfail007.stderr index 9108173c01..98f96f1e02 100644 --- a/testsuite/tests/rename/should_fail/rnfail007.stderr +++ b/testsuite/tests/rename/should_fail/rnfail007.stderr @@ -1,3 +1,3 @@ rnfail007.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/rename/should_fail/rnfail008.stderr b/testsuite/tests/rename/should_fail/rnfail008.stderr index f565d87990..bf4b0e4d08 100644 --- a/testsuite/tests/rename/should_fail/rnfail008.stderr +++ b/testsuite/tests/rename/should_fail/rnfail008.stderr @@ -1,2 +1,2 @@ -rnfail008.hs:18:9: ‛op3’ is not a (visible) method of class ‛K’ +rnfail008.hs:18:9: ‘op3’ is not a (visible) method of class ‘K’ diff --git a/testsuite/tests/rename/should_fail/rnfail009.stderr b/testsuite/tests/rename/should_fail/rnfail009.stderr index 9f5e98ecb1..d8d3fa5fcc 100644 --- a/testsuite/tests/rename/should_fail/rnfail009.stderr +++ b/testsuite/tests/rename/should_fail/rnfail009.stderr @@ -1,5 +1,5 @@ rnfail009.hs:5:10: - Multiple declarations of ‛A’ + Multiple declarations of ‘A’ Declared at: rnfail009.hs:3:10 rnfail009.hs:5:10 diff --git a/testsuite/tests/rename/should_fail/rnfail010.stderr b/testsuite/tests/rename/should_fail/rnfail010.stderr index d2f7a9385b..bd20f39188 100644 --- a/testsuite/tests/rename/should_fail/rnfail010.stderr +++ b/testsuite/tests/rename/should_fail/rnfail010.stderr @@ -1,5 +1,5 @@ rnfail010.hs:6:1: - Multiple declarations of ‛f’ + Multiple declarations of ‘f’ Declared at: rnfail010.hs:2:1 rnfail010.hs:6:1 diff --git a/testsuite/tests/rename/should_fail/rnfail011.stderr b/testsuite/tests/rename/should_fail/rnfail011.stderr index 352b4da837..0d55b36f50 100644 --- a/testsuite/tests/rename/should_fail/rnfail011.stderr +++ b/testsuite/tests/rename/should_fail/rnfail011.stderr @@ -1,5 +1,5 @@ rnfail011.hs:6:1: - Multiple declarations of ‛A’ + Multiple declarations of ‘A’ Declared at: rnfail011.hs:2:1 rnfail011.hs:6:1 diff --git a/testsuite/tests/rename/should_fail/rnfail012.stderr b/testsuite/tests/rename/should_fail/rnfail012.stderr index 0dd75d65f7..833256a1ca 100644 --- a/testsuite/tests/rename/should_fail/rnfail012.stderr +++ b/testsuite/tests/rename/should_fail/rnfail012.stderr @@ -1,5 +1,5 @@ rnfail012.hs:8:1: - Multiple declarations of ‛A’ + Multiple declarations of ‘A’ Declared at: rnfail012.hs:2:1 rnfail012.hs:8:1 diff --git a/testsuite/tests/rename/should_fail/rnfail013.stderr b/testsuite/tests/rename/should_fail/rnfail013.stderr index eebfaa2e02..ae2ead8fc4 100644 --- a/testsuite/tests/rename/should_fail/rnfail013.stderr +++ b/testsuite/tests/rename/should_fail/rnfail013.stderr @@ -1,5 +1,5 @@ rnfail013.hs:7:11: - Multiple declarations of ‛MkT’ + Multiple declarations of ‘MkT’ Declared at: rnfail013.hs:5:11 rnfail013.hs:7:11 diff --git a/testsuite/tests/rename/should_fail/rnfail015.stderr b/testsuite/tests/rename/should_fail/rnfail015.stderr index 999a7acabf..8edd5e3740 100644 --- a/testsuite/tests/rename/should_fail/rnfail015.stderr +++ b/testsuite/tests/rename/should_fail/rnfail015.stderr @@ -1,5 +1,5 @@ rnfail015.hs:14:9: - Multiple declarations of ‛TokLiteral’ + Multiple declarations of ‘TokLiteral’ Declared at: rnfail015.hs:8:9 rnfail015.hs:14:9 diff --git a/testsuite/tests/rename/should_fail/rnfail017.stderr b/testsuite/tests/rename/should_fail/rnfail017.stderr index a89b6be1c0..de2990864f 100644 --- a/testsuite/tests/rename/should_fail/rnfail017.stderr +++ b/testsuite/tests/rename/should_fail/rnfail017.stderr @@ -1,8 +1,8 @@ rnfail017.hs:5:10: Precedence parsing error - cannot mix ‛+’ [infixl 6] and prefix `-' [infixl 6] in the same infix expression + cannot mix ‘+’ [infixl 6] and prefix `-' [infixl 6] in the same infix expression rnfail017.hs:6:10: Precedence parsing error - cannot mix ‛*’ [infixl 7] and prefix `-' [infixl 6] in the same infix expression + cannot mix ‘*’ [infixl 7] and prefix `-' [infixl 6] in the same infix expression diff --git a/testsuite/tests/rename/should_fail/rnfail018.stderr b/testsuite/tests/rename/should_fail/rnfail018.stderr index 7658b18baa..847cfe211e 100644 --- a/testsuite/tests/rename/should_fail/rnfail018.stderr +++ b/testsuite/tests/rename/should_fail/rnfail018.stderr @@ -1,8 +1,8 @@ -rnfail018.hs:12:37: Not in scope: type variable ‛a’ +rnfail018.hs:12:37: Not in scope: type variable ‘a’ -rnfail018.hs:12:42: Not in scope: type variable ‛m’ +rnfail018.hs:12:42: Not in scope: type variable ‘m’ -rnfail018.hs:12:47: Not in scope: type variable ‛m’ +rnfail018.hs:12:47: Not in scope: type variable ‘m’ -rnfail018.hs:12:49: Not in scope: type variable ‛a’ +rnfail018.hs:12:49: Not in scope: type variable ‘a’ diff --git a/testsuite/tests/rename/should_fail/rnfail019.stderr b/testsuite/tests/rename/should_fail/rnfail019.stderr index 449da500e1..2520641bd6 100644 --- a/testsuite/tests/rename/should_fail/rnfail019.stderr +++ b/testsuite/tests/rename/should_fail/rnfail019.stderr @@ -1,6 +1,6 @@ rnfail019.hs:5:9: - The operator ‛:’ [infixr 5] of a section + The operator ‘:’ [infixr 5] of a section must have lower precedence than that of the operand, - namely ‛:’ [infixr 5] - in the section: ‛x : y :’ + namely ‘:’ [infixr 5] + in the section: ‘x : y :’ diff --git a/testsuite/tests/rename/should_fail/rnfail022.stderr b/testsuite/tests/rename/should_fail/rnfail022.stderr index d443cec996..fe23268548 100644 --- a/testsuite/tests/rename/should_fail/rnfail022.stderr +++ b/testsuite/tests/rename/should_fail/rnfail022.stderr @@ -1,4 +1,4 @@ rnfail022.hs:8:5: - Not in scope: ‛intersperse’ - Perhaps you meant ‛L.intersperse’ (imported from Data.List) + Not in scope: ‘intersperse’ + Perhaps you meant ‘L.intersperse’ (imported from Data.List) diff --git a/testsuite/tests/rename/should_fail/rnfail023.stderr b/testsuite/tests/rename/should_fail/rnfail023.stderr index 7fa68c3f19..d10427ae7e 100644 --- a/testsuite/tests/rename/should_fail/rnfail023.stderr +++ b/testsuite/tests/rename/should_fail/rnfail023.stderr @@ -1,9 +1,9 @@ rnfail023.hs:7:1: - The type signature for ‛f’ lacks an accompanying binding + The type signature for ‘f’ lacks an accompanying binding rnfail023.hs:8:12: - The INLINE pragma for ‛f’ lacks an accompanying binding + The INLINE pragma for ‘f’ lacks an accompanying binding rnfail023.hs:14:7: - The type signature for ‛g’ lacks an accompanying binding + The type signature for ‘g’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail024.stderr b/testsuite/tests/rename/should_fail/rnfail024.stderr index f3e6cbe615..83eed48b3a 100644 --- a/testsuite/tests/rename/should_fail/rnfail024.stderr +++ b/testsuite/tests/rename/should_fail/rnfail024.stderr @@ -1,6 +1,6 @@ rnfail024.hs:3:1: - The type signature for ‛sig_without_a_defn’ + The type signature for ‘sig_without_a_defn’ lacks an accompanying binding -rnfail024.hs:6:5: Not in scope: ‛sig_without_a_defn’ +rnfail024.hs:6:5: Not in scope: ‘sig_without_a_defn’ diff --git a/testsuite/tests/rename/should_fail/rnfail025.stderr b/testsuite/tests/rename/should_fail/rnfail025.stderr index bdb07ad5cf..2f57250f33 100644 --- a/testsuite/tests/rename/should_fail/rnfail025.stderr +++ b/testsuite/tests/rename/should_fail/rnfail025.stderr @@ -1,4 +1,4 @@ rnfail025.hs:3:1: - The type signature for ‛sig_without_a_defn’ + The type signature for ‘sig_without_a_defn’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail026.stderr b/testsuite/tests/rename/should_fail/rnfail026.stderr index 1b17272ae1..22caa11c1d 100644 --- a/testsuite/tests/rename/should_fail/rnfail026.stderr +++ b/testsuite/tests/rename/should_fail/rnfail026.stderr @@ -1,9 +1,9 @@ rnfail026.hs:16:17: - The first argument of ‛Monad’ should have kind ‛* -> *’, - but ‛forall a. Eq a => Set a’ has kind ‛*’ - In the instance declaration for ‛Monad (forall a. Eq a => Set a)’ + The first argument of ‘Monad’ should have kind ‘* -> *’, + but ‘forall a. Eq a => Set a’ has kind ‘*’ + In the instance declaration for ‘Monad (forall a. Eq a => Set a)’ rnfail026.hs:19:10: Illegal polymorphic or qualified type: forall a. [a] - In the instance declaration for ‛Eq (forall a. [a])’ + In the instance declaration for ‘Eq (forall a. [a])’ diff --git a/testsuite/tests/rename/should_fail/rnfail027.stderr b/testsuite/tests/rename/should_fail/rnfail027.stderr index 062600ac8d..c58a74f758 100644 --- a/testsuite/tests/rename/should_fail/rnfail027.stderr +++ b/testsuite/tests/rename/should_fail/rnfail027.stderr @@ -1,3 +1,3 @@ rnfail027.hs:5:10: - The fixity signature for ‛wibble’ lacks an accompanying binding + The fixity signature for ‘wibble’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail029.stderr b/testsuite/tests/rename/should_fail/rnfail029.stderr index 671b035c46..c1d97b3acf 100644 --- a/testsuite/tests/rename/should_fail/rnfail029.stderr +++ b/testsuite/tests/rename/should_fail/rnfail029.stderr @@ -1,8 +1,8 @@ rnfail029.hs:2:36: - Conflicting exports for ‛map’: - ‛Data.List.map’ exports ‛Data.List.map’ - imported qualified from ‛Data.List’ at rnfail029.hs:3:1-26 - (and originally defined in ‛GHC.Base’) - ‛module ShouldFail’ exports ‛ShouldFail.map’ + Conflicting exports for ‘map’: + ‘Data.List.map’ exports ‘Data.List.map’ + imported qualified from ‘Data.List’ at rnfail029.hs:3:1-26 + (and originally defined in ‘GHC.Base’) + ‘module ShouldFail’ exports ‘ShouldFail.map’ defined at rnfail029.hs:4:1 diff --git a/testsuite/tests/rename/should_fail/rnfail030.stderr b/testsuite/tests/rename/should_fail/rnfail030.stderr index cbac79dc42..5b2cd36358 100644 --- a/testsuite/tests/rename/should_fail/rnfail030.stderr +++ b/testsuite/tests/rename/should_fail/rnfail030.stderr @@ -1,2 +1,2 @@ -rnfail030.hs:2:21: Not in scope: ‛Data.List.map’ +rnfail030.hs:2:21: Not in scope: ‘Data.List.map’ diff --git a/testsuite/tests/rename/should_fail/rnfail031.stderr b/testsuite/tests/rename/should_fail/rnfail031.stderr index eee31a2ec8..828d5121c8 100644 --- a/testsuite/tests/rename/should_fail/rnfail031.stderr +++ b/testsuite/tests/rename/should_fail/rnfail031.stderr @@ -1,2 +1,2 @@ -rnfail031.hs:2:21: Not in scope: ‛Data.List.map’ +rnfail031.hs:2:21: Not in scope: ‘Data.List.map’ diff --git a/testsuite/tests/rename/should_fail/rnfail032.stderr b/testsuite/tests/rename/should_fail/rnfail032.stderr index f4cf865977..8a2bf0c4d1 100644 --- a/testsuite/tests/rename/should_fail/rnfail032.stderr +++ b/testsuite/tests/rename/should_fail/rnfail032.stderr @@ -1,7 +1,7 @@ rnfail032.hs:2:21: - Not in scope: ‛Data.List.map’ + Not in scope: ‘Data.List.map’ Perhaps you meant one of these: - ‛Data.List.zip’ (imported from Data.List), - ‛Data.List.sum’ (imported from Data.List), - ‛Data.List.all’ (imported from Data.List) + ‘Data.List.zip’ (imported from Data.List), + ‘Data.List.sum’ (imported from Data.List), + ‘Data.List.all’ (imported from Data.List) diff --git a/testsuite/tests/rename/should_fail/rnfail033.stderr b/testsuite/tests/rename/should_fail/rnfail033.stderr index 4a2e76222c..9e95a85e53 100644 --- a/testsuite/tests/rename/should_fail/rnfail033.stderr +++ b/testsuite/tests/rename/should_fail/rnfail033.stderr @@ -1,7 +1,7 @@ rnfail033.hs:2:21: - Not in scope: ‛Data.List.map’ + Not in scope: ‘Data.List.map’ Perhaps you meant one of these: - ‛Data.List.zip’ (imported from Data.List), - ‛Data.List.sum’ (imported from Data.List), - ‛Data.List.all’ (imported from Data.List) + ‘Data.List.zip’ (imported from Data.List), + ‘Data.List.sum’ (imported from Data.List), + ‘Data.List.all’ (imported from Data.List) diff --git a/testsuite/tests/rename/should_fail/rnfail034.stderr b/testsuite/tests/rename/should_fail/rnfail034.stderr index 6c9b49ec4f..78bc649c29 100644 --- a/testsuite/tests/rename/should_fail/rnfail034.stderr +++ b/testsuite/tests/rename/should_fail/rnfail034.stderr @@ -2,5 +2,5 @@ rnfail034.hs:4:11: Qualified name in binding position: M.y rnfail034.hs:4:26: - Not in scope: ‛M.y’ - Perhaps you meant ‛M.g’ (line 4) + Not in scope: ‘M.y’ + Perhaps you meant ‘M.g’ (line 4) diff --git a/testsuite/tests/rename/should_fail/rnfail035.stderr b/testsuite/tests/rename/should_fail/rnfail035.stderr index 35dd128e24..b5de0c0700 100644 --- a/testsuite/tests/rename/should_fail/rnfail035.stderr +++ b/testsuite/tests/rename/should_fail/rnfail035.stderr @@ -1,2 +1,2 @@ -rnfail035.hs:2:21: Not in scope: type constructor or class ‛C’ +rnfail035.hs:2:21: Not in scope: type constructor or class ‘C’ diff --git a/testsuite/tests/rename/should_fail/rnfail040.stderr b/testsuite/tests/rename/should_fail/rnfail040.stderr index 1ff86a8262..38ffb08b60 100644 --- a/testsuite/tests/rename/should_fail/rnfail040.stderr +++ b/testsuite/tests/rename/should_fail/rnfail040.stderr @@ -1,8 +1,8 @@ rnfail040.hs:7:12: - Conflicting exports for ‛nub’: - ‛module M’ exports ‛M.nub’ - imported from ‛Data.List’ at rnfail040.hs:10:2-22 - ‛module M’ exports ‛T.nub’ - imported from ‛Rnfail040_A’ at rnfail040.hs:11:2-24 + Conflicting exports for ‘nub’: + ‘module M’ exports ‘M.nub’ + imported from ‘Data.List’ at rnfail040.hs:10:2-22 + ‘module M’ exports ‘T.nub’ + imported from ‘Rnfail040_A’ at rnfail040.hs:11:2-24 (and originally defined at Rnfail040_A.hs:2:3-5) diff --git a/testsuite/tests/rename/should_fail/rnfail041.stderr b/testsuite/tests/rename/should_fail/rnfail041.stderr index bebccf2176..c5532569d1 100644 --- a/testsuite/tests/rename/should_fail/rnfail041.stderr +++ b/testsuite/tests/rename/should_fail/rnfail041.stderr @@ -1,6 +1,6 @@ rnfail041.hs:4:1: - The type signature for ‛h’ lacks an accompanying binding + The type signature for ‘h’ lacks an accompanying binding rnfail041.hs:5:1: - The type signature for ‛j’ lacks an accompanying binding + The type signature for ‘j’ lacks an accompanying binding diff --git a/testsuite/tests/rename/should_fail/rnfail043.stderr b/testsuite/tests/rename/should_fail/rnfail043.stderr index 61cef734f9..3547ac55b9 100644 --- a/testsuite/tests/rename/should_fail/rnfail043.stderr +++ b/testsuite/tests/rename/should_fail/rnfail043.stderr @@ -1,5 +1,5 @@ rnfail043.hs:10:1: - Multiple declarations of ‛f’ + Multiple declarations of ‘f’ Declared at: rnfail043.hs:6:1 rnfail043.hs:10:1 diff --git a/testsuite/tests/rename/should_fail/rnfail044.stderr b/testsuite/tests/rename/should_fail/rnfail044.stderr index fdae4e17c0..eef15b2209 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: - Ambiguous occurrence ‛splitAt’ - It could refer to either ‛A.splitAt’, defined at rnfail044.hs:8:3 - or ‛Data.List.splitAt’, - imported from ‛Prelude’ at rnfail044.hs:5:8 - (and originally defined in ‛GHC.List’) + Ambiguous occurrence ‘splitAt’ + It could refer to either ‘A.splitAt’, defined at rnfail044.hs:8:3 + or ‘Data.List.splitAt’, + imported from ‘Prelude’ at rnfail044.hs:5:8 + (and originally defined in ‘GHC.List’) diff --git a/testsuite/tests/rename/should_fail/rnfail045.stderr b/testsuite/tests/rename/should_fail/rnfail045.stderr index 9cba624ac3..52069f567c 100644 --- a/testsuite/tests/rename/should_fail/rnfail045.stderr +++ b/testsuite/tests/rename/should_fail/rnfail045.stderr @@ -1,10 +1,10 @@ rnfail045.hs:5:1: - Equations for ‛op1’ have different numbers of arguments + Equations for ‘op1’ have different numbers of arguments rnfail045.hs:5:1-16 rnfail045.hs:6:1-13 rnfail045.hs:8:1: - Equations for ‛op2’ have different numbers of arguments + Equations for ‘op2’ have different numbers of arguments rnfail045.hs:8:1-13 rnfail045.hs:9:1-16 diff --git a/testsuite/tests/rename/should_fail/rnfail048.stderr b/testsuite/tests/rename/should_fail/rnfail048.stderr index 7dd35d12a3..64955c3982 100644 --- a/testsuite/tests/rename/should_fail/rnfail048.stderr +++ b/testsuite/tests/rename/should_fail/rnfail048.stderr @@ -1,6 +1,6 @@ rnfail048.hs:11:12: - Duplicate INLINE pragmas for ‛foo’ + Duplicate INLINE pragmas for ‘foo’ at rnfail048.hs:6:17-19 rnfail048.hs:7:18-20 rnfail048.hs:8:14-16 diff --git a/testsuite/tests/rename/should_fail/rnfail049.stderr b/testsuite/tests/rename/should_fail/rnfail049.stderr index 8f08407ac2..8fab0fef8b 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: Not in scope: ‛f’ +rnfail049.hs:12:49: Not in scope: ‘f’ diff --git a/testsuite/tests/rename/should_fail/rnfail050.stderr b/testsuite/tests/rename/should_fail/rnfail050.stderr index bbd1225438..61e0b43640 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: Not in scope: ‛f’ +rnfail050.hs:10:37: Not in scope: ‘f’ diff --git a/testsuite/tests/rename/should_fail/rnfail053.stderr b/testsuite/tests/rename/should_fail/rnfail053.stderr index 183c8a72ec..a6d88d2a42 100644 --- a/testsuite/tests/rename/should_fail/rnfail053.stderr +++ b/testsuite/tests/rename/should_fail/rnfail053.stderr @@ -1,4 +1,4 @@ rnfail053.hs:5:10: - Not a data constructor: ‛forall’ + Not a data constructor: ‘forall’ Perhaps you intended to use ExistentialQuantification diff --git a/testsuite/tests/rename/should_fail/rnfail054.stderr b/testsuite/tests/rename/should_fail/rnfail054.stderr index ef5b6d55b0..edfac8a1c8 100644 --- a/testsuite/tests/rename/should_fail/rnfail054.stderr +++ b/testsuite/tests/rename/should_fail/rnfail054.stderr @@ -1,5 +1,5 @@ rnfail054.hs:6:13: - ‛foo’ is not a record selector + ‘foo’ is not a record selector In the expression: x {foo = 1} - In an equation for ‛foo’: foo x = x {foo = 1} + In an equation for ‘foo’: foo x = x {foo = 1} diff --git a/testsuite/tests/rename/should_fail/rnfail055.stderr b/testsuite/tests/rename/should_fail/rnfail055.stderr index 3a3eb04b01..ed17c5c5e6 100644 --- a/testsuite/tests/rename/should_fail/rnfail055.stderr +++ b/testsuite/tests/rename/should_fail/rnfail055.stderr @@ -6,31 +6,31 @@ RnFail055.hs-boot:1:73: Warning: -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. RnFail055.hs-boot:4:1: - Identifier ‛f1’ has conflicting definitions in the module + Identifier ‘f1’ has conflicting definitions in the module and its hs-boot file Main module: f1 :: Int -> Float Boot file: f1 :: Float -> Int RnFail055.hs-boot:6:1: - Type constructor ‛S1’ has conflicting definitions in the module + Type constructor ‘S1’ has conflicting definitions in the module and its hs-boot file Main module: type S1 a b = (a, b) Boot file: type S1 a b c = (a, b) RnFail055.hs-boot:8:1: - Type constructor ‛S2’ has conflicting definitions in the module + Type constructor ‘S2’ has conflicting definitions in the module and its hs-boot file Main module: type S2 a b = forall a. (a, b) Boot file: type S2 a b = forall b. (a, b) RnFail055.hs-boot:12:1: - Type constructor ‛T1’ has conflicting definitions in the module + Type constructor ‘T1’ has conflicting definitions in the module and its hs-boot file Main module: data T1 a b = T1 [b] [a] Boot file: data T1 a b = T1 [a] [b] RnFail055.hs-boot:14:1: - Type constructor ‛T2’ has conflicting definitions in the module + Type constructor ‘T2’ has conflicting definitions in the module and its hs-boot file Main module: type role T2 representational phantom data Eq b => T2 a b = T2 a @@ -43,19 +43,19 @@ RnFail055.hs-boot:17:12: T3' is exported by the hs-boot file, but not exported by the module RnFail055.hs-boot:21:1: - Type constructor ‛T5’ has conflicting definitions in the module + Type constructor ‘T5’ has conflicting definitions in the module and its hs-boot file Main module: data T5 a = T5 {field5 :: a} Boot file: data T5 a = T5 a RnFail055.hs-boot:23:1: - Type constructor ‛T6’ has conflicting definitions in the module + Type constructor ‘T6’ has conflicting definitions in the module and its hs-boot file Main module: data T6 = T6 Int Boot file: data T6 = T6 !Int RnFail055.hs-boot:25:1: - Type constructor ‛T7’ has conflicting definitions in the module + Type constructor ‘T7’ has conflicting definitions in the module and its hs-boot file Main module: type role T7 phantom data T7 a where @@ -66,7 +66,7 @@ RnFail055.hs-boot:27:22: RnFail055.m1 is exported by the hs-boot file, but not exported by the module RnFail055.hs-boot:28:1: - Class ‛C2’ has conflicting definitions in the module + Class ‘C2’ has conflicting definitions in the module and its hs-boot file Main module: class C2 a b where m2 :: a -> b @@ -75,7 +75,7 @@ RnFail055.hs-boot:28:1: m2 :: a -> b RnFail055.hs-boot:29:1: - Class ‛C3’ has conflicting definitions in the module + Class ‘C3’ has conflicting definitions in the module and its hs-boot file Main module: class (Eq a, Ord a) => C3 a Boot file: class (Ord a, Eq a) => C3 a diff --git a/testsuite/tests/rename/should_fail/rnfail057.stderr b/testsuite/tests/rename/should_fail/rnfail057.stderr index 682365654d..aaeb29dc4f 100644 --- a/testsuite/tests/rename/should_fail/rnfail057.stderr +++ b/testsuite/tests/rename/should_fail/rnfail057.stderr @@ -1,3 +1,3 @@ rnfail057.hs:5:16: - Not in scope: type constructor or class ‛DontExistKind’ + Not in scope: type constructor or class ‘DontExistKind’ diff --git a/testsuite/tests/roles/should_fail/Roles10.stderr b/testsuite/tests/roles/should_fail/Roles10.stderr index 1c636580b9..2102298269 100644 --- a/testsuite/tests/roles/should_fail/Roles10.stderr +++ b/testsuite/tests/roles/should_fail/Roles10.stderr @@ -1,9 +1,9 @@ Roles10.hs:16:12: - Could not coerce from ‛Bool’ to ‛Char’ - because ‛Bool’ and ‛Char’ are different types. - arising from the coercion of the method ‛meth’ from type - ‛Int -> F Int’ to type ‛Age -> F Age’ + Could not coerce from ‘Bool’ to ‘Char’ + because ‘Bool’ and ‘Char’ are different types. + arising from the coercion of the method ‘meth’ from type + ‘Int -> F Int’ to type ‘Age -> F Age’ Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/roles/should_fail/Roles11.stderr b/testsuite/tests/roles/should_fail/Roles11.stderr index 55ef3bdd5b..1fa09997c5 100644 --- a/testsuite/tests/roles/should_fail/Roles11.stderr +++ b/testsuite/tests/roles/should_fail/Roles11.stderr @@ -2,4 +2,4 @@ Roles11.hs:5:1: Role mismatch on variable a: Annotation says representational but role nominal is required - while checking a role annotation for ‛T2’ + while checking a role annotation for ‘T2’ diff --git a/testsuite/tests/roles/should_fail/Roles12.stderr b/testsuite/tests/roles/should_fail/Roles12.stderr index fd986b66fc..bb830beae3 100644 --- a/testsuite/tests/roles/should_fail/Roles12.stderr +++ b/testsuite/tests/roles/should_fail/Roles12.stderr @@ -1,6 +1,6 @@ Roles12.hs:5:1: - Type constructor ‛T’ has conflicting definitions in the module + Type constructor ‘T’ has conflicting definitions in the module and its hs-boot file Main module: type role T phantom data T a diff --git a/testsuite/tests/roles/should_fail/Roles5.stderr b/testsuite/tests/roles/should_fail/Roles5.stderr index 20172ff260..cb79845a55 100644 --- a/testsuite/tests/roles/should_fail/Roles5.stderr +++ b/testsuite/tests/roles/should_fail/Roles5.stderr @@ -2,12 +2,12 @@ Roles5.hs:7:1: Illegal role annotation for T; did you intend to use RoleAnnotations? - while checking a role annotation for ‛T’ + while checking a role annotation for ‘T’ Roles5.hs:8:1: Illegal role annotation for C; did you intend to use RoleAnnotations? - while checking a role annotation for ‛C’ + while checking a role annotation for ‘C’ Roles5.hs:9:1: Illegal role annotation for S; diff --git a/testsuite/tests/roles/should_fail/Roles6.stderr b/testsuite/tests/roles/should_fail/Roles6.stderr index 9f09ab3528..91bcce99c8 100644 --- a/testsuite/tests/roles/should_fail/Roles6.stderr +++ b/testsuite/tests/roles/should_fail/Roles6.stderr @@ -3,4 +3,4 @@ Roles6.hs:7:1: Wrong number of roles listed in role annotation; Expected 2, got 3: type role Foo nominal representational phantom - while checking a role annotation for ‛Foo’ + while checking a role annotation for ‘Foo’ diff --git a/testsuite/tests/roles/should_fail/Roles7.stderr b/testsuite/tests/roles/should_fail/Roles7.stderr index e4774f1aa8..ae62543e28 100644 --- a/testsuite/tests/roles/should_fail/Roles7.stderr +++ b/testsuite/tests/roles/should_fail/Roles7.stderr @@ -1,4 +1,4 @@ Roles7.hs:6:15: - Illegal role name ‛repesentational’ - Perhaps you meant ‛representational’ + Illegal role name ‘repesentational’ + Perhaps you meant ‘representational’ diff --git a/testsuite/tests/roles/should_fail/Roles8.stderr b/testsuite/tests/roles/should_fail/Roles8.stderr index 22f66f4667..5f21527942 100644 --- a/testsuite/tests/roles/should_fail/Roles8.stderr +++ b/testsuite/tests/roles/should_fail/Roles8.stderr @@ -1,10 +1,10 @@ Roles8.hs:7:1: - Duplicate role annotations for ‛T1’: + Duplicate role annotations for ‘T1’: type role T1 nominal -- written at Roles8.hs:7:1-20 type role T1 nominal -- written at Roles8.hs:8:1-20 Roles8.hs:12:1: - Duplicate role annotations for ‛T2’: + Duplicate role annotations for ‘T2’: type role T2 representational -- written at Roles8.hs:12:1-29 type role T2 phantom -- written at Roles8.hs:13:1-20 diff --git a/testsuite/tests/roles/should_fail/Roles9.stderr b/testsuite/tests/roles/should_fail/Roles9.stderr index 0cd02f9b5f..e9f824b8ce 100644 --- a/testsuite/tests/roles/should_fail/Roles9.stderr +++ b/testsuite/tests/roles/should_fail/Roles9.stderr @@ -1,7 +1,7 @@ Roles9.hs:13:12: - Can't make a derived instance of ‛C Age’ + Can't make a derived instance of ‘C Age’ (even with cunning newtype deriving): it is not type-safe to use GeneralizedNewtypeDeriving on this class; - the last parameter of ‛C’ is at role Nominal - In the newtype declaration for ‛Age’ + the last parameter of ‘C’ is at role Nominal + In the newtype declaration for ‘Age’ diff --git a/testsuite/tests/roles/should_fail/T8773.stderr b/testsuite/tests/roles/should_fail/T8773.stderr index 838d58793f..fac02f30d1 100644 --- a/testsuite/tests/roles/should_fail/T8773.stderr +++ b/testsuite/tests/roles/should_fail/T8773.stderr @@ -1,5 +1,5 @@ T8773.hs:5:1: - Roles other than ‛nominal’ for class parameters can lead to incoherence. + Roles other than ‘nominal’ for class parameters can lead to incoherence. Use IncoherentInstances to allow this; bad role found - while checking a role annotation for ‛C2’ + while checking a role annotation for ‘C2’ diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr index 784f0472be..5e1801c0cb 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags22.stderr @@ -1,6 +1,6 @@ SafeFlags22.hs:1:16: Warning: - ‛SafeFlags22’ has been inferred as unsafe! + ‘SafeFlags22’ has been inferred as unsafe! Reason: SafeFlags22.hs:7:1: System.IO.Unsafe: Can't be safely imported! diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr index 8af4d95f57..b2a57091ce 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags23.stderr @@ -1,6 +1,6 @@ SafeFlags23.hs:1:16: Warning: - ‛SafeFlags22’ has been inferred as unsafe! + ‘SafeFlags22’ has been inferred as unsafe! Reason: SafeFlags23.hs:7:1: System.IO.Unsafe: Can't be safely imported! diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr index 3e1d7b3607..434ea2b9ca 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags25.stderr @@ -1,3 +1,3 @@ SafeFlags25.hs:1:16: Warning: - ‛SafeFlags25’ has been inferred as safe! + ‘SafeFlags25’ has been inferred as safe! diff --git a/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr b/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr index 640f5be414..47dd8828d4 100644 --- a/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr +++ b/testsuite/tests/safeHaskell/flags/SafeFlags26.stderr @@ -1,6 +1,6 @@ SafeFlags26.hs:1:16: Warning: - ‛SafeFlags26’ has been inferred as safe! + ‘SafeFlags26’ has been inferred as safe! <no location info>: Failing due to -Werror. diff --git a/testsuite/tests/safeHaskell/ghci/p10.stderr b/testsuite/tests/safeHaskell/ghci/p10.stderr index 71ace73569..d8ba4ab762 100644 --- a/testsuite/tests/safeHaskell/ghci/p10.stderr +++ b/testsuite/tests/safeHaskell/ghci/p10.stderr @@ -1,2 +1,2 @@ -<interactive>:10:1: Not in scope: ‛b’ +<interactive>:10:1: Not in scope: ‘b’ diff --git a/testsuite/tests/safeHaskell/ghci/p13.stderr b/testsuite/tests/safeHaskell/ghci/p13.stderr index 226aac2f05..edf5e1eb91 100644 --- a/testsuite/tests/safeHaskell/ghci/p13.stderr +++ b/testsuite/tests/safeHaskell/ghci/p13.stderr @@ -1,7 +1,7 @@ <interactive>:12:1: Unsafe overlapping instances for Pos [Int] - arising from a use of ‛res’ + arising from a use of ‘res’ The matching instance is: instance [overlap ok] [safe] Pos [Int] -- Defined at <interactive>:10:10 @@ -10,4 +10,4 @@ overlaps the following instances from different modules: instance [overlap ok] [safe] Pos [a] -- Defined at P13_A.hs:6:10 In the expression: res [1 :: Int, 2 :: Int] - In an equation for ‛it’: it = res [1 :: Int, 2 :: Int] + In an equation for ‘it’: it = res [1 :: Int, 2 :: Int] diff --git a/testsuite/tests/safeHaskell/ghci/p14.stderr b/testsuite/tests/safeHaskell/ghci/p14.stderr index 0d1b1728a7..4d0b14e970 100644 --- a/testsuite/tests/safeHaskell/ghci/p14.stderr +++ b/testsuite/tests/safeHaskell/ghci/p14.stderr @@ -1,2 +1,2 @@ -<interactive>:10:1: parse error on input ‛{-# RULES’ +<interactive>:10:1: parse error on input ‘{-# RULES’ diff --git a/testsuite/tests/safeHaskell/ghci/p15.stderr b/testsuite/tests/safeHaskell/ghci/p15.stderr index 0bc16dfbf1..19684b3937 100644 --- a/testsuite/tests/safeHaskell/ghci/p15.stderr +++ b/testsuite/tests/safeHaskell/ghci/p15.stderr @@ -1,9 +1,9 @@ Top level: Warning: - Module ‛Data.OldTypeable’ is deprecated: Use Data.Typeable instead + Module ‘Data.OldTypeable’ is deprecated: Use Data.Typeable instead <interactive>:10:36: Warning: - In the use of type constructor or class ‛Typeable’ + In the use of type constructor or class ‘Typeable’ (imported from Data.OldTypeable, but defined in Data.OldTypeable.Internal): Deprecated: "Use Data.Typeable.Internal instead" @@ -11,8 +11,8 @@ Top level: Warning: Can't create hand written instances of Typeable in Safe Haskell! Can only derive them <interactive>:22:22: - No instance for (Typeable G) arising from a use of ‛cast’ + No instance for (Typeable G) arising from a use of ‘cast’ In the expression: (cast y) :: Maybe H In a pattern binding: (Just y_as_H) = (cast y) :: Maybe H -<interactive>:23:1: Not in scope: ‛y_as_H’ +<interactive>:23:1: Not in scope: ‘y_as_H’ diff --git a/testsuite/tests/safeHaskell/ghci/p4.stderr b/testsuite/tests/safeHaskell/ghci/p4.stderr index 8ff140a7bd..c7eb6070e1 100644 --- a/testsuite/tests/safeHaskell/ghci/p4.stderr +++ b/testsuite/tests/safeHaskell/ghci/p4.stderr @@ -1,6 +1,6 @@ -<interactive>:6:9: Not in scope: ‛System.IO.Unsafe.unsafePerformIO’ +<interactive>:6:9: Not in scope: ‘System.IO.Unsafe.unsafePerformIO’ -<interactive>:7:9: Not in scope: ‛x’ +<interactive>:7:9: Not in scope: ‘x’ -<interactive>:8:1: Not in scope: ‛y’ +<interactive>:8:1: Not in scope: ‘y’ diff --git a/testsuite/tests/safeHaskell/ghci/p6.stderr b/testsuite/tests/safeHaskell/ghci/p6.stderr index f46c1f815e..9b6c0cfdb4 100644 --- a/testsuite/tests/safeHaskell/ghci/p6.stderr +++ b/testsuite/tests/safeHaskell/ghci/p6.stderr @@ -6,5 +6,5 @@ foreign import ccall safe "static sin" c_sin :: Double -> Double <interactive>:13:1: - Not in scope: ‛c_sin’ - Perhaps you meant ‛c_sin'’ (line 8) + Not in scope: ‘c_sin’ + Perhaps you meant ‘c_sin'’ (line 8) diff --git a/testsuite/tests/safeHaskell/ghci/p9.stderr b/testsuite/tests/safeHaskell/ghci/p9.stderr index 71ace73569..d8ba4ab762 100644 --- a/testsuite/tests/safeHaskell/ghci/p9.stderr +++ b/testsuite/tests/safeHaskell/ghci/p9.stderr @@ -1,2 +1,2 @@ -<interactive>:10:1: Not in scope: ‛b’ +<interactive>:10:1: Not in scope: ‘b’ diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered07.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered07.stderr index e318319eaa..153ba0f77e 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered07.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered07.stderr @@ -1,20 +1,20 @@ [1 of 2] Compiling UnsafeInfered07_A ( UnsafeInfered07_A.hs, UnsafeInfered07_A.o ) UnsafeInfered07_A.hs:4:1: Warning: - Module ‛Data.OldTypeable’ is deprecated: Use Data.Typeable instead + Module ‘Data.OldTypeable’ is deprecated: Use Data.Typeable instead UnsafeInfered07_A.hs:8:10: Warning: - In the use of type constructor or class ‛Typeable’ + In the use of type constructor or class ‘Typeable’ (imported from Data.OldTypeable, but defined in Data.OldTypeable.Internal): Deprecated: "Use Data.Typeable.Internal instead" UnsafeInfered07_A.hs:8:10: Warning: - In the use of type constructor or class ‛Typeable’ + In the use of type constructor or class ‘Typeable’ (imported from Data.OldTypeable, but defined in Data.OldTypeable.Internal): Deprecated: "Use Data.Typeable.Internal instead" UnsafeInfered07_A.hs:9:16: Warning: - In the use of ‛typeOf’ + In the use of ‘typeOf’ (imported from Data.OldTypeable, but defined in Data.OldTypeable.Internal): Deprecated: "Use Data.Typeable.Internal instead" [2 of 2] Compiling UnsafeInfered07 ( UnsafeInfered07.hs, UnsafeInfered07.o ) diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr index ec700d62fd..d1cfe99158 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered11.stderr @@ -1,7 +1,7 @@ [1 of 2] Compiling UnsafeInfered11_A ( UnsafeInfered11_A.hs, UnsafeInfered11_A.o ) UnsafeInfered11_A.hs:1:16: Warning: - ‛UnsafeInfered11_A’ has been inferred as unsafe! + ‘UnsafeInfered11_A’ has been inferred as unsafe! Reason: UnsafeInfered11_A.hs:17:11: Warning: Rule "lookupx/T" ignored diff --git a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr index 53d7a4c328..470e1b71e6 100644 --- a/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr +++ b/testsuite/tests/safeHaskell/safeInfered/UnsafeInfered12.stderr @@ -1,6 +1,6 @@ UnsafeInfered12.hs:2:16: Warning: - ‛UnsafeInfered12’ has been inferred as unsafe! + ‘UnsafeInfered12’ has been inferred as unsafe! Reason: UnsafeInfered12.hs:1:14: -XTemplateHaskell is not allowed in Safe Haskell diff --git a/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.stderr b/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.stderr index a226c79744..83c79da75f 100644 --- a/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.stderr +++ b/testsuite/tests/safeHaskell/safeLanguage/SafeLang10.stderr @@ -4,7 +4,7 @@ SafeLang10.hs:8:13: Unsafe overlapping instances for Pos [Int] - arising from a use of ‛res’ + arising from a use of ‘res’ The matching instance is: instance [overlap ok] [safe] Pos [Int] -- Defined at SafeLang10_B.hs:14:10 @@ -13,7 +13,7 @@ SafeLang10.hs:8:13: overlaps the following instances from different modules: instance Pos [a] -- Defined at SafeLang10_A.hs:13:10 In the expression: res [(1 :: Int)] - In an equation for ‛r’: r = res [(1 :: Int)] + In an equation for ‘r’: r = res [(1 :: Int)] In the expression: do { let r = res ...; putStrLn $ "Result: " ++ show r; diff --git a/testsuite/tests/simplCore/should_compile/T4398.stderr b/testsuite/tests/simplCore/should_compile/T4398.stderr index 692583e680..63d1ab3042 100644 --- a/testsuite/tests/simplCore/should_compile/T4398.stderr +++ b/testsuite/tests/simplCore/should_compile/T4398.stderr @@ -1,3 +1,3 @@ T4398.hs:5:11: Warning: - Forall'd constraint ‛Ord a’ is not bound in RULE lhs f @ a x y + Forall'd constraint ‘Ord a’ is not bound in RULE lhs f @ a x y diff --git a/testsuite/tests/simplCore/should_compile/T5359b.stderr b/testsuite/tests/simplCore/should_compile/T5359b.stderr index 6106f3e17b..75dde28fcc 100644 --- a/testsuite/tests/simplCore/should_compile/T5359b.stderr +++ b/testsuite/tests/simplCore/should_compile/T5359b.stderr @@ -1,3 +1,3 @@ T5359b.hs:62:1: Warning: - SPECIALISE pragma on INLINE function probably won't fire: ‛genum’ + SPECIALISE pragma on INLINE function probably won't fire: ‘genum’ diff --git a/testsuite/tests/simplCore/should_compile/T6082-RULE.stderr b/testsuite/tests/simplCore/should_compile/T6082-RULE.stderr index e133ec7e58..f619687151 100644 --- a/testsuite/tests/simplCore/should_compile/T6082-RULE.stderr +++ b/testsuite/tests/simplCore/should_compile/T6082-RULE.stderr @@ -1,8 +1,8 @@ T6082-RULE.hs:5:11: Warning: - Rule "foo1" may never fire because ‛foo1’ might inline first - Probable fix: add an INLINE[n] or NOINLINE[n] pragma on ‛foo1’ + Rule "foo1" may never fire because ‘foo1’ might inline first + Probable fix: add an INLINE[n] or NOINLINE[n] pragma on ‘foo1’ T6082-RULE.hs:10:11: Warning: - Rule "foo2" may never fire because ‛foo2’ might inline first - Probable fix: add an INLINE[n] or NOINLINE[n] pragma on ‛foo2’ + Rule "foo2" may never fire because ‘foo2’ might inline first + Probable fix: add an INLINE[n] or NOINLINE[n] pragma on ‘foo2’ diff --git a/testsuite/tests/simplCore/should_compile/T8537.stderr b/testsuite/tests/simplCore/should_compile/T8537.stderr index f27ee675a5..0613a1cfa3 100644 --- a/testsuite/tests/simplCore/should_compile/T8537.stderr +++ b/testsuite/tests/simplCore/should_compile/T8537.stderr @@ -1,3 +1,3 @@ T8537.hs:20:5: Warning: - SPECIALISE pragma for non-overloaded function ‛fmap’ + SPECIALISE pragma for non-overloaded function ‘fmap’ diff --git a/testsuite/tests/simplCore/should_compile/simpl016.stderr b/testsuite/tests/simplCore/should_compile/simpl016.stderr index 0bd07fd0eb..61211265ea 100644 --- a/testsuite/tests/simplCore/should_compile/simpl016.stderr +++ b/testsuite/tests/simplCore/should_compile/simpl016.stderr @@ -1,4 +1,4 @@ simpl016.hs:5:1: Warning: - Forall'd constraint ‛Num b’ is not bound in RULE lhs + Forall'd constraint ‘Num b’ is not bound in RULE lhs delta' @ Int @ b GHC.Classes.$fEqInt diff --git a/testsuite/tests/simplCore/should_compile/simpl017.stderr b/testsuite/tests/simplCore/should_compile/simpl017.stderr index 681c890246..b04dbb4ade 100644 --- a/testsuite/tests/simplCore/should_compile/simpl017.stderr +++ b/testsuite/tests/simplCore/should_compile/simpl017.stderr @@ -1,20 +1,20 @@ simpl017.hs:44:12: - Couldn't match expected type ‛forall v. [E m i] -> E' v m a’ - with actual type ‛[E m i] -> E' v0 m a’ + Couldn't match expected type ‘forall v. [E m i] -> E' v m a’ + with actual type ‘[E m i] -> E' v0 m a’ Relevant bindings include f :: [E m i] -> E' v0 m a (bound at simpl017.hs:43:9) ix :: [E m i] -> m i (bound at simpl017.hs:41:9) a :: arr i a (bound at simpl017.hs:39:11) liftArray :: arr i a -> E m (forall v. [E m i] -> E' v m a) (bound at simpl017.hs:39:1) - In the first argument of ‛return’, namely ‛f’ + In the first argument of ‘return’, namely ‘f’ In a stmt of a 'do' block: return f simpl017.hs:63:5: - Couldn't match type ‛forall v. + Couldn't match type ‘forall v. [E' RValue (ST s) Int] -> E' v (ST s) Int’ - with ‛[E (ST t0) Int] -> E' RValue (ST s) Int’ + with ‘[E (ST t0) Int] -> E' RValue (ST s) Int’ Expected type: [E (ST t0) Int] -> E (ST s) Int Actual type: forall v. [E (ST s) Int] -> E' v (ST s) Int Relevant bindings include @@ -22,15 +22,15 @@ simpl017.hs:63:5: (bound at simpl017.hs:60:5) ma :: STArray s Int Int (bound at simpl017.hs:59:5) foo :: STArray s Int Int -> ST s Int (bound at simpl017.hs:59:1) - The function ‛a’ is applied to one argument, - but its type ‛forall v. [E (ST s) Int] -> E' v (ST s) Int’ has none - In the first argument of ‛plus’, namely ‛a [one]’ + The function ‘a’ is applied to one argument, + but its type ‘forall v. [E (ST s) Int] -> E' v (ST s) Int’ has none + In the first argument of ‘plus’, namely ‘a [one]’ In a stmt of a 'do' block: a [one] `plus` a [one] simpl017.hs:63:19: - Couldn't match type ‛forall v. + Couldn't match type ‘forall v. [E' RValue (ST s) Int] -> E' v (ST s) Int’ - with ‛[E (ST t1) Int] -> E' RValue (ST s) Int’ + with ‘[E (ST t1) Int] -> E' RValue (ST s) Int’ Expected type: [E (ST t1) Int] -> E (ST s) Int Actual type: forall v. [E (ST s) Int] -> E' v (ST s) Int Relevant bindings include @@ -38,7 +38,7 @@ simpl017.hs:63:19: (bound at simpl017.hs:60:5) ma :: STArray s Int Int (bound at simpl017.hs:59:5) foo :: STArray s Int Int -> ST s Int (bound at simpl017.hs:59:1) - The function ‛a’ is applied to one argument, - but its type ‛forall v. [E (ST s) Int] -> E' v (ST s) Int’ has none - In the second argument of ‛plus’, namely ‛a [one]’ + The function ‘a’ is applied to one argument, + but its type ‘forall v. [E (ST s) Int] -> E' v (ST s) Int’ has none + In the second argument of ‘plus’, namely ‘a [one]’ In a stmt of a 'do' block: a [one] `plus` a [one] diff --git a/testsuite/tests/simplCore/should_compile/simpl020.stderr b/testsuite/tests/simplCore/should_compile/simpl020.stderr index f11001b857..22b40f8d9f 100644 --- a/testsuite/tests/simplCore/should_compile/simpl020.stderr +++ b/testsuite/tests/simplCore/should_compile/simpl020.stderr @@ -1,5 +1,5 @@ Simpl020_A.hs:25:10: Warning: No explicit implementation for - ‛toGUIObject’ and ‛cset’ - In the instance declaration for ‛GUIObject ()’ + ‘toGUIObject’ and ‘cset’ + In the instance declaration for ‘GUIObject ()’ diff --git a/testsuite/tests/th/T2674.stderr b/testsuite/tests/th/T2674.stderr index 6875684dda..0d9a3826ff 100644 --- a/testsuite/tests/th/T2674.stderr +++ b/testsuite/tests/th/T2674.stderr @@ -1,4 +1,4 @@ T2674.hs:9:3: - Function binding for ‛foo’ has no equations + Function binding for ‘foo’ has no equations When splicing a TH declaration: diff --git a/testsuite/tests/th/T2713.stderr b/testsuite/tests/th/T2713.stderr index c036b43848..89a15ca83a 100644 --- a/testsuite/tests/th/T2713.stderr +++ b/testsuite/tests/th/T2713.stderr @@ -1,8 +1,8 @@ T2713.hs:11:10: - The fixity signature for ‛.*.’ lacks an accompanying binding - (The fixity signature must be given where ‛.*.’ is declared) + The fixity signature for ‘.*.’ lacks an accompanying binding + (The fixity signature must be given where ‘.*.’ is declared) T2713.hs:12:1: - The type signature for ‛f’ lacks an accompanying binding - (The type signature must be given where ‛f’ is declared) + The type signature for ‘f’ lacks an accompanying binding + (The type signature must be given where ‘f’ is declared) diff --git a/testsuite/tests/th/T3177a.stderr b/testsuite/tests/th/T3177a.stderr index 94d4f2e2d1..88614ff3e8 100644 --- a/testsuite/tests/th/T3177a.stderr +++ b/testsuite/tests/th/T3177a.stderr @@ -1,8 +1,8 @@ T3177a.hs:8:6: - ‛Int’ is applied to too many type arguments - In the type signature for ‛f’: f :: Int Int + ‘Int’ is applied to too many type arguments + In the type signature for ‘f’: f :: Int Int T3177a.hs:11:6: - ‛Int’ is applied to too many type arguments - In the type signature for ‛g’: g :: Int Int + ‘Int’ is applied to too many type arguments + In the type signature for ‘g’: g :: Int Int diff --git a/testsuite/tests/th/T5795.stderr b/testsuite/tests/th/T5795.stderr index 757ba72cfd..bdc218c86c 100644 --- a/testsuite/tests/th/T5795.stderr +++ b/testsuite/tests/th/T5795.stderr @@ -1,6 +1,6 @@ T5795.hs:9:6: GHC stage restriction: - ‛ty’ is used in a top-level splice or annotation, + ‘ty’ is used in a top-level splice or annotation, and must be imported, not defined locally In the splice: $ty diff --git a/testsuite/tests/th/T5971.stderr b/testsuite/tests/th/T5971.stderr index 9d647d1ea7..07bae41015 100644 --- a/testsuite/tests/th/T5971.stderr +++ b/testsuite/tests/th/T5971.stderr @@ -1,6 +1,6 @@ T5971.hs:6:7: - The exact Name ‛x’ is not in scope + The exact Name ‘x’ is not in scope Probable cause: you used a unique Template Haskell name (NameU), perhaps via newName, but did not bind it If that's it, then -ddump-splices might be useful diff --git a/testsuite/tests/th/T6114.stderr b/testsuite/tests/th/T6114.stderr index 6267aa6405..917b56f768 100644 --- a/testsuite/tests/th/T6114.stderr +++ b/testsuite/tests/th/T6114.stderr @@ -1,6 +1,6 @@ T6114.hs:6:17: - The exact Name ‛x’ is not in scope + The exact Name ‘x’ is not in scope Probable cause: you used a unique Template Haskell name (NameU), perhaps via newName, but did not bind it If that's it, then -ddump-splices might be useful diff --git a/testsuite/tests/th/T7276.stderr b/testsuite/tests/th/T7276.stderr index 7b76966617..8d6f545576 100644 --- a/testsuite/tests/th/T7276.stderr +++ b/testsuite/tests/th/T7276.stderr @@ -1,7 +1,7 @@ T7276.hs:6:8: - Couldn't match type ‛[Language.Haskell.TH.Syntax.Dec]’ - with ‛Language.Haskell.TH.Syntax.Exp’ + Couldn't match type ‘[Language.Haskell.TH.Syntax.Dec]’ + with ‘Language.Haskell.TH.Syntax.Exp’ Expected type: Language.Haskell.TH.Lib.ExpQ Actual type: Language.Haskell.TH.Lib.DecsQ In the expression: [d| y = 3 |] diff --git a/testsuite/tests/th/T7276a.stdout b/testsuite/tests/th/T7276a.stdout index 2edeaaeb3f..6ad7f98907 100644 --- a/testsuite/tests/th/T7276a.stdout +++ b/testsuite/tests/th/T7276a.stdout @@ -1,19 +1,19 @@ <interactive>:4:9: Warning: - Couldn't match type ‛[Dec]’ with ‛Exp’ + Couldn't match type ‘[Dec]’ with ‘Exp’ Expected type: Q Exp Actual type: DecsQ In the expression: [d| a = () |] :: Q Exp - In an equation for ‛x’: x = [d| a = () |] :: Q Exp + In an equation for ‘x’: x = [d| a = () |] :: Q Exp <interactive>:1:1: Exception when trying to run compile-time code: <interactive>:4:9: - Couldn't match type ‛[Dec]’ with ‛Exp’ + Couldn't match type ‘[Dec]’ with ‘Exp’ Expected type: Q Exp Actual type: DecsQ In the expression: [d| a = () |] :: Q Exp - In an equation for ‛x’: x = [d| a = () |] :: Q Exp + In an equation for ‘x’: x = [d| a = () |] :: Q Exp (deferred type error) Code: x In the splice: $x diff --git a/testsuite/tests/th/T7667a.stderr b/testsuite/tests/th/T7667a.stderr index 7e85d06017..1b54ed3c86 100644 --- a/testsuite/tests/th/T7667a.stderr +++ b/testsuite/tests/th/T7667a.stderr @@ -1,5 +1,5 @@ T7667a.hs:8:12: - Illegal variable name: ‛False’ + Illegal variable name: ‘False’ When splicing a TH expression: False In the splice: $(return $ VarE (mkName "False")) diff --git a/testsuite/tests/th/T8577.stderr b/testsuite/tests/th/T8577.stderr index 6e35e4a6b5..734007e6cc 100644 --- a/testsuite/tests/th/T8577.stderr +++ b/testsuite/tests/th/T8577.stderr @@ -1,6 +1,6 @@ T8577.hs:9:11: - Couldn't match type ‛Int’ with ‛Bool’ + Couldn't match type ‘Int’ with ‘Bool’ Expected type: Q (TExp (A Bool)) Actual type: Q (TExp (A Int)) In the expression: y diff --git a/testsuite/tests/th/TH_Roles1.stderr b/testsuite/tests/th/TH_Roles1.stderr index f819da1eca..952b3317ce 100644 --- a/testsuite/tests/th/TH_Roles1.stderr +++ b/testsuite/tests/th/TH_Roles1.stderr @@ -2,4 +2,4 @@ TH_Roles1.hs:7:4: Illegal role annotation for T; did you intend to use RoleAnnotations? - while checking a role annotation for ‛T’ + while checking a role annotation for ‘T’ diff --git a/testsuite/tests/th/TH_dupdecl.stderr b/testsuite/tests/th/TH_dupdecl.stderr index 4bd90febad..e08af85233 100644 --- a/testsuite/tests/th/TH_dupdecl.stderr +++ b/testsuite/tests/th/TH_dupdecl.stderr @@ -1,5 +1,5 @@ TH_dupdecl.hs:10:4: - Multiple declarations of ‛x’ + Multiple declarations of ‘x’ Declared at: TH_dupdecl.hs:8:4 TH_dupdecl.hs:10:4 diff --git a/testsuite/tests/th/TH_spliceD1.stderr b/testsuite/tests/th/TH_spliceD1.stderr index 2a93bb4f5a..9e6fb5013a 100644 --- a/testsuite/tests/th/TH_spliceD1.stderr +++ b/testsuite/tests/th/TH_spliceD1.stderr @@ -1,6 +1,6 @@ TH_spliceD1.hs:10:3: - Conflicting definitions for ‛c’ + Conflicting definitions for ‘c’ Bound at: TH_spliceD1.hs:10:3-5 TH_spliceD1.hs:10:3-5 - In an equation for ‛f’ + In an equation for ‘f’ diff --git a/testsuite/tests/th/TH_unresolvedInfix2.stderr b/testsuite/tests/th/TH_unresolvedInfix2.stderr index 4baa35a351..57d93dc896 100644 --- a/testsuite/tests/th/TH_unresolvedInfix2.stderr +++ b/testsuite/tests/th/TH_unresolvedInfix2.stderr @@ -1,9 +1,9 @@ TH_unresolvedInfix2.hs:14:11: - The operator ‛:+’ [infixl 6] of a section + The operator ‘:+’ [infixl 6] of a section must have lower precedence than that of the operand, - namely ‛:+’ [infixl 6] - in the section: ‛:+ N :+ N’ + namely ‘:+’ [infixl 6] + in the section: ‘:+ N :+ N’ In the splice: $(let plus = conE ... diff --git a/testsuite/tests/typecheck/bug1465/bug1465.stderr b/testsuite/tests/typecheck/bug1465/bug1465.stderr index 44b3de11c1..118d070075 100644 --- a/testsuite/tests/typecheck/bug1465/bug1465.stderr +++ b/testsuite/tests/typecheck/bug1465/bug1465.stderr @@ -1,8 +1,8 @@ C.hs:6:11: - Couldn't match expected type ‛bug1465-1.0:A.T’ - with actual type ‛A.T’ - NB: ‛bug1465-1.0:A.T’ is defined in ‛A’ in package ‛bug1465-1.0’ - ‛A.T’ is defined in ‛A’ in package ‛bug1465-2.0’ + Couldn't match expected type ‘bug1465-1.0:A.T’ + with actual type ‘A.T’ + NB: ‘bug1465-1.0:A.T’ is defined in ‘A’ in package ‘bug1465-1.0’ + ‘A.T’ is defined in ‘A’ in package ‘bug1465-2.0’ In the expression: B2.f In the expression: [B1.f, B2.f] diff --git a/testsuite/tests/typecheck/prog001/typecheck.prog001.stderr-ghc b/testsuite/tests/typecheck/prog001/typecheck.prog001.stderr-ghc index d13e8c9175..70e210fa3e 100644 --- a/testsuite/tests/typecheck/prog001/typecheck.prog001.stderr-ghc +++ b/testsuite/tests/typecheck/prog001/typecheck.prog001.stderr-ghc @@ -1,5 +1,5 @@ B.hs:7:10: Warning: No explicit implementation for - ‛row’ - In the instance declaration for ‛Matrix Bool Val’ + ‘row’ + In the instance declaration for ‘Matrix Bool Val’ diff --git a/testsuite/tests/typecheck/should_compile/FD1.stderr b/testsuite/tests/typecheck/should_compile/FD1.stderr index 5fa16fdf15..98ed785956 100644 --- a/testsuite/tests/typecheck/should_compile/FD1.stderr +++ b/testsuite/tests/typecheck/should_compile/FD1.stderr @@ -5,9 +5,9 @@ FD1.hs:16:1: bound by the type signature for plus :: E a (Int -> Int) => Int -> a at FD1.hs:15:9-38 - ‛a’ is a rigid type variable bound by + ‘a’ is a rigid type variable bound by the type signature for plus :: E a (Int -> Int) => Int -> a at FD1.hs:15:9 Relevant bindings include plus :: Int -> a (bound at FD1.hs:16:1) - The equation(s) for ‛plus’ have two arguments, - but its type ‛Int -> a’ has only one + The equation(s) for ‘plus’ have two arguments, + but its type ‘Int -> a’ has only one diff --git a/testsuite/tests/typecheck/should_compile/FD2.stderr b/testsuite/tests/typecheck/should_compile/FD2.stderr index 679f05ddeb..06e5afd730 100644 --- a/testsuite/tests/typecheck/should_compile/FD2.stderr +++ b/testsuite/tests/typecheck/should_compile/FD2.stderr @@ -2,7 +2,7 @@ FD2.hs:26:34: Could not deduce (e ~ e1) from the context (Foldable a) - bound by the class declaration for ‛Foldable’ + bound by the class declaration for ‘Foldable’ at FD2.hs:(17,1)-(26,39) or from (Elem a e) bound by the type signature for @@ -12,11 +12,11 @@ FD2.hs:26:34: bound by the type signature for mf :: Elem a e1 => e1 -> Maybe e1 -> Maybe e1 at FD2.hs:24:18-54 - ‛e’ is a rigid type variable bound by + ‘e’ is a rigid type variable bound by the type signature for foldr1 :: Elem a e => (e -> e -> e) -> a -> e at FD2.hs:21:13 - ‛e1’ is a rigid type variable bound by + ‘e1’ is a rigid type variable bound by the type signature for mf :: Elem a e1 => e1 -> Maybe e1 -> Maybe e1 at FD2.hs:24:18 @@ -26,5 +26,5 @@ FD2.hs:26:34: mf :: e1 -> Maybe e1 -> Maybe e1 (bound at FD2.hs:25:12) f :: e -> e -> e (bound at FD2.hs:22:10) foldr1 :: (e -> e -> e) -> a -> e (bound at FD2.hs:22:3) - In the first argument of ‛Just’, namely ‛(f x y)’ + In the first argument of ‘Just’, namely ‘(f x y)’ In the expression: Just (f x y) diff --git a/testsuite/tests/typecheck/should_compile/FD3.stderr b/testsuite/tests/typecheck/should_compile/FD3.stderr index 664fd35553..d2364921f6 100644 --- a/testsuite/tests/typecheck/should_compile/FD3.stderr +++ b/testsuite/tests/typecheck/should_compile/FD3.stderr @@ -1,5 +1,5 @@ FD3.hs:15:15:
- No instance for (MkA (String, a) a) arising from a use of ‛mkA’
+ No instance for (MkA (String, a) a) arising from a use of ‘mkA’
In the expression: mkA a
- In an equation for ‛translate’: translate a = mkA a
+ In an equation for ‘translate’: translate a = mkA a
diff --git a/testsuite/tests/typecheck/should_compile/HasKey.stderr-ghc b/testsuite/tests/typecheck/should_compile/HasKey.stderr-ghc index 54607457e5..dd4d290cda 100644 --- a/testsuite/tests/typecheck/should_compile/HasKey.stderr-ghc +++ b/testsuite/tests/typecheck/should_compile/HasKey.stderr-ghc @@ -1,5 +1,5 @@ HasKey.hs:22:10: Warning: No explicit implementation for - either ‛compare’ or ‛<=’ - In the instance declaration for ‛Ord (Keyed x)’ + either ‘compare’ or ‘<=’ + In the instance declaration for ‘Ord (Keyed x)’ diff --git a/testsuite/tests/typecheck/should_compile/T2494.stderr b/testsuite/tests/typecheck/should_compile/T2494.stderr index 201230b1a5..dee00ab6b4 100644 --- a/testsuite/tests/typecheck/should_compile/T2494.stderr +++ b/testsuite/tests/typecheck/should_compile/T2494.stderr @@ -1,9 +1,9 @@ T2494.hs:15:14:
- Couldn't match type ‛b’ with ‛a’
- ‛b’ is a rigid type variable bound by
+ Couldn't match type ‘b’ with ‘a’
+ ‘b’ is a rigid type variable bound by
the RULE "foo/foo" at T2494.hs:14:16
- ‛a’ is a rigid type variable bound by
+ ‘a’ is a rigid type variable bound by
the RULE "foo/foo" at T2494.hs:13:16
Expected type: Maybe (m a) -> Maybe (m a)
Actual type: Maybe (m b) -> Maybe (m b)
@@ -13,14 +13,14 @@ T2494.hs:15:14: g :: forall (m :: * -> *). Monad m => Maybe (m b) -> Maybe (m b)
(bound at T2494.hs:14:11)
x :: Maybe a (bound at T2494.hs:14:65)
- In the first argument of ‛foo’, namely ‛g’
- In the second argument of ‛foo’, namely ‛(foo g x)’
+ In the first argument of ‘foo’, namely ‘g’
+ In the second argument of ‘foo’, namely ‘(foo g x)’
T2494.hs:15:30:
- Couldn't match type ‛b’ with ‛a’
- ‛b’ is a rigid type variable bound by
+ Couldn't match type ‘b’ with ‘a’
+ ‘b’ is a rigid type variable bound by
the RULE "foo/foo" at T2494.hs:14:16
- ‛a’ is a rigid type variable bound by
+ ‘a’ is a rigid type variable bound by
the RULE "foo/foo" at T2494.hs:13:16
Expected type: Maybe (m a) -> Maybe (m a)
Actual type: Maybe (m b) -> Maybe (m b)
@@ -30,5 +30,5 @@ T2494.hs:15:30: g :: forall (m :: * -> *). Monad m => Maybe (m b) -> Maybe (m b)
(bound at T2494.hs:14:11)
x :: Maybe a (bound at T2494.hs:14:65)
- In the second argument of ‛(.)’, namely ‛g’
- In the first argument of ‛foo’, namely ‛(f . g)’
+ In the second argument of ‘(.)’, namely ‘g’
+ In the first argument of ‘foo’, namely ‘(f . g)’
diff --git a/testsuite/tests/typecheck/should_compile/T2497.stderr b/testsuite/tests/typecheck/should_compile/T2497.stderr index 7ee9bee08e..cd7ad8bc20 100644 --- a/testsuite/tests/typecheck/should_compile/T2497.stderr +++ b/testsuite/tests/typecheck/should_compile/T2497.stderr @@ -1,2 +1,2 @@ -T2497.hs:18:1: Warning: Defined but not used: ‛beq’ +T2497.hs:18:1: Warning: Defined but not used: ‘beq’ diff --git a/testsuite/tests/typecheck/should_compile/T5481.stderr b/testsuite/tests/typecheck/should_compile/T5481.stderr index bf59427da6..df5d23b360 100644 --- a/testsuite/tests/typecheck/should_compile/T5481.stderr +++ b/testsuite/tests/typecheck/should_compile/T5481.stderr @@ -1,8 +1,8 @@ T5481.hs:6:5: - The RHS of an associated type declaration mentions type variable ‛b’ + The RHS of an associated type declaration mentions type variable ‘b’ All such variables must be bound on the LHS T5481.hs:8:5: - The RHS of an associated type declaration mentions type variable ‛a’ + The RHS of an associated type declaration mentions type variable ‘a’ All such variables must be bound on the LHS diff --git a/testsuite/tests/typecheck/should_compile/T7050.stderr b/testsuite/tests/typecheck/should_compile/T7050.stderr index 860c90757f..a7154f67ac 100644 --- a/testsuite/tests/typecheck/should_compile/T7050.stderr +++ b/testsuite/tests/typecheck/should_compile/T7050.stderr @@ -1,5 +1,5 @@ T7050.hs:3:14: Warning: - Ignoring unusable UNPACK pragma on the first argument of ‛Foo’ - In the definition of data constructor ‛Foo’ - In the data declaration for ‛Foo’ + Ignoring unusable UNPACK pragma on the first argument of ‘Foo’ + In the definition of data constructor ‘Foo’ + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_compile/T7562.stderr b/testsuite/tests/typecheck/should_compile/T7562.stderr index 36f1de5780..fb663fc639 100644 --- a/testsuite/tests/typecheck/should_compile/T7562.stderr +++ b/testsuite/tests/typecheck/should_compile/T7562.stderr @@ -1,5 +1,5 @@ T7562.hs:3:14: Warning: - UNPACK pragma lacks '!' on the first argument of ‛Pair2’ - In the definition of data constructor ‛Pair2’ - In the data declaration for ‛Pair2’ + UNPACK pragma lacks '!' on the first argument of ‘Pair2’ + In the definition of data constructor ‘Pair2’ + In the data declaration for ‘Pair2’ diff --git a/testsuite/tests/typecheck/should_compile/T7903.stderr-ghc b/testsuite/tests/typecheck/should_compile/T7903.stderr-ghc index 594196a06c..2214c3531f 100644 --- a/testsuite/tests/typecheck/should_compile/T7903.stderr-ghc +++ b/testsuite/tests/typecheck/should_compile/T7903.stderr-ghc @@ -1,10 +1,10 @@ T7903.hs:5:10: Warning: No explicit implementation for - either ‛==’ or ‛/=’ - In the instance declaration for ‛Eq (a -> b)’ + either ‘==’ or ‘/=’ + In the instance declaration for ‘Eq (a -> b)’ T7903.hs:6:10: Warning: No explicit implementation for - either ‛compare’ or ‛<=’ - In the instance declaration for ‛Ord (a -> b)’ + either ‘compare’ or ‘<=’ + In the instance declaration for ‘Ord (a -> b)’ diff --git a/testsuite/tests/typecheck/should_compile/holes.stderr b/testsuite/tests/typecheck/should_compile/holes.stderr index 2985863b63..da1408ff09 100644 --- a/testsuite/tests/typecheck/should_compile/holes.stderr +++ b/testsuite/tests/typecheck/should_compile/holes.stderr @@ -1,33 +1,33 @@ holes.hs:3:5: Warning: - Found hole ‛_’ with type: t - Where: ‛t’ is a rigid type variable bound by + Found hole ‘_’ with type: t + Where: ‘t’ is a rigid type variable bound by the inferred type of f :: t at holes.hs:3:1 Relevant bindings include f :: t (bound at holes.hs:3:1) In the expression: _ - In an equation for ‛f’: f = _ + In an equation for ‘f’: f = _ holes.hs:6:7: Warning: - Found hole ‛_’ with type: Char + Found hole ‘_’ with type: Char Relevant bindings include x :: Int (bound at holes.hs:6:3) g :: Int -> Char (bound at holes.hs:6:1) In the expression: _ - In an equation for ‛g’: g x = _ + In an equation for ‘g’: g x = _ holes.hs:8:5: Warning: - Found hole ‛_’ with type: [Char] + Found hole ‘_’ with type: [Char] Relevant bindings include h :: [Char] (bound at holes.hs:8:1) - In the first argument of ‛(++)’, namely ‛_’ + In the first argument of ‘(++)’, namely ‘_’ In the expression: _ ++ "a" - In an equation for ‛h’: h = _ ++ "a" + In an equation for ‘h’: h = _ ++ "a" holes.hs:11:15: Warning: - Found hole ‛_’ with type: b0 - Where: ‛b0’ is an ambiguous type variable + Found hole ‘_’ with type: b0 + Where: ‘b0’ is an ambiguous type variable Relevant bindings include y :: [a] (bound at holes.hs:11:3) z :: [a] -> [a] (bound at holes.hs:11:1) - In the second argument of ‛const’, namely ‛_’ + In the second argument of ‘const’, namely ‘_’ In the expression: const y _ - In an equation for ‛z’: z y = const y _ + In an equation for ‘z’: z y = const y _ diff --git a/testsuite/tests/typecheck/should_compile/holes2.stderr b/testsuite/tests/typecheck/should_compile/holes2.stderr index d75b5f3f1a..e953827e4a 100644 --- a/testsuite/tests/typecheck/should_compile/holes2.stderr +++ b/testsuite/tests/typecheck/should_compile/holes2.stderr @@ -1,20 +1,20 @@ holes2.hs:3:5: Warning: - No instance for (Show a0) arising from a use of ‛show’ - The type variable ‛a0’ is ambiguous + No instance for (Show a0) arising from a use of ‘show’ + The type variable ‘a0’ is ambiguous Note: there are several potential instances: - instance Show Double -- Defined in ‛GHC.Float’ - instance Show Float -- Defined in ‛GHC.Float’ + instance Show Double -- Defined in ‘GHC.Float’ + instance Show Float -- Defined in ‘GHC.Float’ instance (Integral a, Show a) => Show (GHC.Real.Ratio a) - -- Defined in ‛GHC.Real’ + -- Defined in ‘GHC.Real’ ...plus 24 others In the expression: show _ - In an equation for ‛f’: f = show _ + In an equation for ‘f’: f = show _ holes2.hs:3:10: Warning: - Found hole ‛_’ with type: a0 - Where: ‛a0’ is an ambiguous type variable + Found hole ‘_’ with type: a0 + Where: ‘a0’ is an ambiguous type variable Relevant bindings include f :: String (bound at holes2.hs:3:1) - In the first argument of ‛show’, namely ‛_’ + In the first argument of ‘show’, namely ‘_’ In the expression: show _ - In an equation for ‛f’: f = show _ + In an equation for ‘f’: f = show _ diff --git a/testsuite/tests/typecheck/should_compile/holes3.stderr b/testsuite/tests/typecheck/should_compile/holes3.stderr index abfeab0e4a..e203acaa74 100644 --- a/testsuite/tests/typecheck/should_compile/holes3.stderr +++ b/testsuite/tests/typecheck/should_compile/holes3.stderr @@ -1,33 +1,33 @@ holes3.hs:3:5: - Found hole ‛_’ with type: t - Where: ‛t’ is a rigid type variable bound by + Found hole ‘_’ with type: t + Where: ‘t’ is a rigid type variable bound by the inferred type of f :: t at holes3.hs:3:1 Relevant bindings include f :: t (bound at holes3.hs:3:1) In the expression: _ - In an equation for ‛f’: f = _ + In an equation for ‘f’: f = _ holes3.hs:6:7: - Found hole ‛_gr’ with type: Char + Found hole ‘_gr’ with type: Char Relevant bindings include x :: Int (bound at holes3.hs:6:3) g :: Int -> Char (bound at holes3.hs:6:1) In the expression: _gr - In an equation for ‛g’: g x = _gr + In an equation for ‘g’: g x = _gr holes3.hs:8:5: - Found hole ‛_aa’ with type: [Char] + Found hole ‘_aa’ with type: [Char] Relevant bindings include h :: [Char] (bound at holes3.hs:8:1) - In the first argument of ‛(++)’, namely ‛_aa’ + In the first argument of ‘(++)’, namely ‘_aa’ In the expression: _aa ++ "a" - In an equation for ‛h’: h = _aa ++ "a" + In an equation for ‘h’: h = _aa ++ "a" holes3.hs:11:15: - Found hole ‛_x’ with type: b0 - Where: ‛b0’ is an ambiguous type variable + Found hole ‘_x’ with type: b0 + Where: ‘b0’ is an ambiguous type variable Relevant bindings include y :: [a] (bound at holes3.hs:11:3) z :: [a] -> [a] (bound at holes3.hs:11:1) - In the second argument of ‛const’, namely ‛_x’ + In the second argument of ‘const’, namely ‘_x’ In the expression: const y _x - In an equation for ‛z’: z y = const y _x + In an equation for ‘z’: z y = const y _x diff --git a/testsuite/tests/typecheck/should_compile/tc056.stderr b/testsuite/tests/typecheck/should_compile/tc056.stderr index c05f9b3bc2..0c8f669b30 100644 --- a/testsuite/tests/typecheck/should_compile/tc056.stderr +++ b/testsuite/tests/typecheck/should_compile/tc056.stderr @@ -3,4 +3,4 @@ tc056.hs:16:10: Warning: Duplicate constraint(s): Eq' a In the context: (Eq' a, Eq' a) While checking an instance declaration - In the instance declaration for ‛Eq' [a]’ + In the instance declaration for ‘Eq' [a]’ diff --git a/testsuite/tests/typecheck/should_compile/tc078.stderr-ghc b/testsuite/tests/typecheck/should_compile/tc078.stderr-ghc index 5eae74e23f..bb5d9f566e 100644 --- a/testsuite/tests/typecheck/should_compile/tc078.stderr-ghc +++ b/testsuite/tests/typecheck/should_compile/tc078.stderr-ghc @@ -1,10 +1,10 @@ tc078.hs:7:10: Warning: No explicit implementation for - either ‛==’ or ‛/=’ - In the instance declaration for ‛Eq (Bar a)’ + either ‘==’ or ‘/=’ + In the instance declaration for ‘Eq (Bar a)’ tc078.hs:8:10: Warning: No explicit implementation for - either ‛compare’ or ‛<=’ - In the instance declaration for ‛Ord (Bar a)’ + either ‘compare’ or ‘<=’ + In the instance declaration for ‘Ord (Bar a)’ diff --git a/testsuite/tests/typecheck/should_compile/tc115.stderr-ghc b/testsuite/tests/typecheck/should_compile/tc115.stderr-ghc index c9f18fb3c0..e90ef21e12 100644 --- a/testsuite/tests/typecheck/should_compile/tc115.stderr-ghc +++ b/testsuite/tests/typecheck/should_compile/tc115.stderr-ghc @@ -1,5 +1,5 @@ tc115.hs:12:10: Warning: No explicit implementation for - ‛foo’ - In the instance declaration for ‛Foo [m a] (m a)’ + ‘foo’ + In the instance declaration for ‘Foo [m a] (m a)’ diff --git a/testsuite/tests/typecheck/should_compile/tc116.stderr-ghc b/testsuite/tests/typecheck/should_compile/tc116.stderr-ghc index 641f541290..91fa0a1130 100644 --- a/testsuite/tests/typecheck/should_compile/tc116.stderr-ghc +++ b/testsuite/tests/typecheck/should_compile/tc116.stderr-ghc @@ -1,5 +1,5 @@ tc116.hs:12:10: Warning: No explicit implementation for - ‛foo’ - In the instance declaration for ‛Foo [m a] (m a)’ + ‘foo’ + In the instance declaration for ‘Foo [m a] (m a)’ diff --git a/testsuite/tests/typecheck/should_compile/tc125.stderr-ghc b/testsuite/tests/typecheck/should_compile/tc125.stderr-ghc index 5b92b3321e..5631c08a1c 100644 --- a/testsuite/tests/typecheck/should_compile/tc125.stderr-ghc +++ b/testsuite/tests/typecheck/should_compile/tc125.stderr-ghc @@ -1,25 +1,25 @@ tc125.hs:16:10: Warning: No explicit implementation for - ‛add’ - In the instance declaration for ‛Add Z a a’ + ‘add’ + In the instance declaration for ‘Add Z a a’ tc125.hs:17:10: Warning: No explicit implementation for - ‛add’ - In the instance declaration for ‛Add (S a) b (S c)’ + ‘add’ + In the instance declaration for ‘Add (S a) b (S c)’ tc125.hs:21:10: Warning: No explicit implementation for - ‛mul’ - In the instance declaration for ‛Mul Z a Z’ + ‘mul’ + In the instance declaration for ‘Mul Z a Z’ tc125.hs:22:10: Warning: No explicit implementation for - ‛mul’ - In the instance declaration for ‛Mul (S a) b d’ + ‘mul’ + In the instance declaration for ‘Mul (S a) b d’ tc125.hs:29:10: Warning: No explicit implementation for - ‛add’ - In the instance declaration for ‛Add (Q a b) (Q c d) (Q ad_bc bd)’ + ‘add’ + In the instance declaration for ‘Add (Q a b) (Q c d) (Q ad_bc bd)’ diff --git a/testsuite/tests/typecheck/should_compile/tc126.stderr-ghc b/testsuite/tests/typecheck/should_compile/tc126.stderr-ghc index 1e84ac3d95..4adc2a29f4 100644 --- a/testsuite/tests/typecheck/should_compile/tc126.stderr-ghc +++ b/testsuite/tests/typecheck/should_compile/tc126.stderr-ghc @@ -1,10 +1,10 @@ tc126.hs:15:25: Warning: No explicit implementation for - ‛bug’ - In the instance declaration for ‛Bug (Int -> r) Int r’ + ‘bug’ + In the instance declaration for ‘Bug (Int -> r) Int r’ tc126.hs:16:10: Warning: No explicit implementation for - ‛bug’ - In the instance declaration for ‛Bug f (c a) (c r)’ + ‘bug’ + In the instance declaration for ‘Bug f (c a) (c r)’ diff --git a/testsuite/tests/typecheck/should_compile/tc141.stderr b/testsuite/tests/typecheck/should_compile/tc141.stderr index b63aa997ce..9279d033b5 100644 --- a/testsuite/tests/typecheck/should_compile/tc141.stderr +++ b/testsuite/tests/typecheck/should_compile/tc141.stderr @@ -1,14 +1,14 @@ tc141.hs:11:12: - You cannot bind scoped type variable ‛a’ + You cannot bind scoped type variable ‘a’ in a pattern binding signature In the pattern: p :: a In the pattern: (p :: a, q :: a) In a pattern binding: (p :: a, q :: a) = x tc141.hs:11:31: - Couldn't match expected type ‛a1’ with actual type ‛a’ - because type variable ‛a1’ would escape its scope + Couldn't match expected type ‘a1’ with actual type ‘a’ + because type variable ‘a1’ would escape its scope This (rigid, skolem) type variable is bound by an expression type signature: a1 at tc141.hs:11:31-34 @@ -21,7 +21,7 @@ tc141.hs:11:31: In the expression: (q :: a, p) tc141.hs:13:13: - You cannot bind scoped type variable ‛a’ + You cannot bind scoped type variable ‘a’ in a pattern binding signature In the pattern: y :: a In a pattern binding: y :: a = a @@ -33,8 +33,8 @@ tc141.hs:13:13: in v tc141.hs:15:18: - Couldn't match expected type ‛a2’ with actual type ‛t’ - because type variable ‛a2’ would escape its scope + Couldn't match expected type ‘a2’ with actual type ‘t’ + because type variable ‘a2’ would escape its scope This (rigid, skolem) type variable is bound by the type signature for v :: a2 at tc141.hs:14:19 @@ -43,4 +43,4 @@ tc141.hs:15:18: b :: t (bound at tc141.hs:13:5) g :: a -> t -> a1 (bound at tc141.hs:13:1) In the expression: b - In an equation for ‛v’: v = b + In an equation for ‘v’: v = b diff --git a/testsuite/tests/typecheck/should_compile/tc161.stderr-ghc b/testsuite/tests/typecheck/should_compile/tc161.stderr-ghc index a91168c22a..163fde19cd 100644 --- a/testsuite/tests/typecheck/should_compile/tc161.stderr-ghc +++ b/testsuite/tests/typecheck/should_compile/tc161.stderr-ghc @@ -1,5 +1,5 @@ tc161.hs:17:10: Warning: No explicit implementation for - ‛op’ - In the instance declaration for ‛Foo Int’ + ‘op’ + In the instance declaration for ‘Foo Int’ diff --git a/testsuite/tests/typecheck/should_compile/tc167.stderr b/testsuite/tests/typecheck/should_compile/tc167.stderr index 32d0c80c43..5d869af801 100644 --- a/testsuite/tests/typecheck/should_compile/tc167.stderr +++ b/testsuite/tests/typecheck/should_compile/tc167.stderr @@ -1,5 +1,5 @@ tc167.hs:8:15:
- Expecting a lifted type, but ‛Int#’ is unlifted
- In the type ‛(->) Int#’
- In the type declaration for ‛T’
+ Expecting a lifted type, but ‘Int#’ is unlifted
+ In the type ‘(->) Int#’
+ In the type declaration for ‘T’
diff --git a/testsuite/tests/typecheck/should_compile/tc168.stderr b/testsuite/tests/typecheck/should_compile/tc168.stderr index 6fbc96f934..de1467b2b4 100644 --- a/testsuite/tests/typecheck/should_compile/tc168.stderr +++ b/testsuite/tests/typecheck/should_compile/tc168.stderr @@ -1,11 +1,11 @@ tc168.hs:17:1: Could not deduce (C a1 (a, b0)) - arising from the ambiguity check for ‛g’ + arising from the ambiguity check for ‘g’ from the context (C a1 (a, b)) - bound by the inferred type for ‛g’: C a1 (a, b) => a1 -> a + bound by the inferred type for ‘g’: C a1 (a, b) => a1 -> a at tc168.hs:17:1-16 - The type variable ‛b0’ is ambiguous - When checking that ‛g’ - has the inferred type ‛forall a b a1. C a1 (a, b) => a1 -> a’ + The type variable ‘b0’ is ambiguous + When checking that ‘g’ + has the inferred type ‘forall a b a1. C a1 (a, b) => a1 -> a’ Probable cause: the inferred type is ambiguous diff --git a/testsuite/tests/typecheck/should_compile/tc175.stderr b/testsuite/tests/typecheck/should_compile/tc175.stderr index 982cee89b7..b7a0eedb68 100644 --- a/testsuite/tests/typecheck/should_compile/tc175.stderr +++ b/testsuite/tests/typecheck/should_compile/tc175.stderr @@ -1,5 +1,5 @@ tc175.hs:13:10: Warning: No explicit implementation for - either ‛showsPrec’ or ‛show’ - In the instance declaration for ‛Show (a -> b)’ + either ‘showsPrec’ or ‘show’ + In the instance declaration for ‘Show (a -> b)’ diff --git a/testsuite/tests/typecheck/should_compile/tc211.stderr b/testsuite/tests/typecheck/should_compile/tc211.stderr index 00e1d0351d..bdc5bd1879 100644 --- a/testsuite/tests/typecheck/should_compile/tc211.stderr +++ b/testsuite/tests/typecheck/should_compile/tc211.stderr @@ -1,73 +1,73 @@ tc211.hs:15:22: - Couldn't match type ‛forall a6. a6 -> a6’ with ‛a -> a’ + Couldn't match type ‘forall a6. a6 -> a6’ with ‘a -> a’ Expected type: [a -> a] Actual type: [forall a. a -> a] - In the first argument of ‛head’, namely ‛foo’ - In the first argument of ‛(:) :: + In the first argument of ‘head’, namely ‘foo’ + In the first argument of ‘(:) :: (forall a. a -> a) -> [forall a. a -> a] -> [forall a. a -> a]’, namely - ‛(head foo)’ + ‘(head foo)’ tc211.hs:48:19: - Could not deduce (Num a2) arising from the literal ‛3’ + Could not deduce (Num a2) arising from the literal ‘3’ from the context (Num a) bound by the inferred type of h1 :: Num a => (forall a1. a1 -> a1) -> a at tc211.hs:(47,1)-(49,9) - The type variable ‛a2’ is ambiguous + The type variable ‘a2’ is ambiguous Relevant bindings include y :: Pair a2 (Pair a3 b1) (bound at tc211.hs:48:10) Note: there are several potential instances: - instance Num Double -- Defined in ‛GHC.Float’ - instance Num Float -- Defined in ‛GHC.Float’ + instance Num Double -- Defined in ‘GHC.Float’ + instance Num Float -- Defined in ‘GHC.Float’ instance Integral a => Num (GHC.Real.Ratio a) - -- Defined in ‛GHC.Real’ + -- Defined in ‘GHC.Real’ ...plus three others - In the first argument of ‛g’, namely ‛3’ - In the first argument of ‛P’, namely ‛(g 3)’ + In the first argument of ‘g’, namely ‘3’ + In the first argument of ‘P’, namely ‘(g 3)’ In the expression: P (g 3) (g (P 3 4)) tc211.hs:48:28: - Could not deduce (Num a3) arising from the literal ‛3’ + Could not deduce (Num a3) arising from the literal ‘3’ from the context (Num a) bound by the inferred type of h1 :: Num a => (forall a1. a1 -> a1) -> a at tc211.hs:(47,1)-(49,9) - The type variable ‛a3’ is ambiguous + The type variable ‘a3’ is ambiguous Relevant bindings include y :: Pair a2 (Pair a3 b1) (bound at tc211.hs:48:10) Note: there are several potential instances: - instance Num Double -- Defined in ‛GHC.Float’ - instance Num Float -- Defined in ‛GHC.Float’ + instance Num Double -- Defined in ‘GHC.Float’ + instance Num Float -- Defined in ‘GHC.Float’ instance Integral a => Num (GHC.Real.Ratio a) - -- Defined in ‛GHC.Real’ + -- Defined in ‘GHC.Real’ ...plus three others - In the first argument of ‛P’, namely ‛3’ - In the first argument of ‛g’, namely ‛(P 3 4)’ - In the second argument of ‛P’, namely ‛(g (P 3 4))’ + In the first argument of ‘P’, namely ‘3’ + In the first argument of ‘g’, namely ‘(P 3 4)’ + In the second argument of ‘P’, namely ‘(g (P 3 4))’ tc211.hs:48:30: - Could not deduce (Num b1) arising from the literal ‛4’ + Could not deduce (Num b1) arising from the literal ‘4’ from the context (Num a) bound by the inferred type of h1 :: Num a => (forall a1. a1 -> a1) -> a at tc211.hs:(47,1)-(49,9) - The type variable ‛b1’ is ambiguous + The type variable ‘b1’ is ambiguous Relevant bindings include y :: Pair a2 (Pair a3 b1) (bound at tc211.hs:48:10) Note: there are several potential instances: - instance Num Double -- Defined in ‛GHC.Float’ - instance Num Float -- Defined in ‛GHC.Float’ + instance Num Double -- Defined in ‘GHC.Float’ + instance Num Float -- Defined in ‘GHC.Float’ instance Integral a => Num (GHC.Real.Ratio a) - -- Defined in ‛GHC.Real’ + -- Defined in ‘GHC.Real’ ...plus three others - In the second argument of ‛P’, namely ‛4’ - In the first argument of ‛g’, namely ‛(P 3 4)’ - In the second argument of ‛P’, namely ‛(g (P 3 4))’ + In the second argument of ‘P’, namely ‘4’ + In the first argument of ‘g’, namely ‘(P 3 4)’ + In the second argument of ‘P’, namely ‘(g (P 3 4))’ tc211.hs:70:9: - Couldn't match type ‛forall a7. a7 -> a7’ with ‛a6 -> a6’ + Couldn't match type ‘forall a7. a7 -> a7’ with ‘a6 -> a6’ Expected type: List (forall a. a -> a) -> (forall a. a -> a) -> a6 -> a6 Actual type: List (forall a. a -> a) diff --git a/testsuite/tests/typecheck/should_compile/tc254.stderr b/testsuite/tests/typecheck/should_compile/tc254.stderr index a721c7e3b4..885b505828 100644 --- a/testsuite/tests/typecheck/should_compile/tc254.stderr +++ b/testsuite/tests/typecheck/should_compile/tc254.stderr @@ -1,4 +1,4 @@ tc254.hs:8:1: Warning: - No explicit associated type or default declaration for ‛Typ’ - In the instance declaration for ‛Cls Int’ + No explicit associated type or default declaration for ‘Typ’ + In the instance declaration for ‘Cls Int’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr index e342e900a6..b865437c86 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef01.stderr @@ -1,3 +1,3 @@ AssocTyDef01.hs:9:10: - ‛OtherType’ is not a (visible) associated type of class ‛Cls’ + ‘OtherType’ is not a (visible) associated type of class ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef02.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef02.stderr index 749e42c991..9b3ac0e364 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef02.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef02.stderr @@ -1,6 +1,6 @@ AssocTyDef02.hs:6:10: Type indexes must match class instance head - Found ‛[b]’ but expected ‛a’ - In the type synonym instance default declaration for ‛Typ’ - In the class declaration for ‛Cls’ + Found ‘[b]’ but expected ‘a’ + In the type synonym instance default declaration for ‘Typ’ + In the class declaration for ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef03.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef03.stderr index 82e9b0f3a3..e62a2afcc5 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef03.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef03.stderr @@ -1,5 +1,5 @@ AssocTyDef03.hs:6:5: Wrong category of family instance; declaration was for a data type - In the type instance declaration for ‛Typ’ - In the class declaration for ‛Cls’ + In the type instance declaration for ‘Typ’ + In the class declaration for ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr index b03eb045e5..550d09895f 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef04.stderr @@ -1,7 +1,7 @@ AssocTyDef04.hs:6:18: - Expecting one more argument to ‛Maybe’ - Expected kind ‛*’, but ‛Maybe’ has kind ‛* -> *’ - In the type ‛Maybe’ - In the type instance declaration for ‛Typ’ - In the class declaration for ‛Cls’ + Expecting one more argument to ‘Maybe’ + Expected kind ‘*’, but ‘Maybe’ has kind ‘* -> *’ + In the type ‘Maybe’ + In the type instance declaration for ‘Typ’ + In the class declaration for ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef05.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef05.stderr index 5d003e9a42..8f5b5a5316 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef05.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef05.stderr @@ -1,5 +1,5 @@ AssocTyDef05.hs:6:10: Number of parameters must match family declaration; expected 1 - In the type synonym instance default declaration for ‛Typ’ - In the class declaration for ‛Cls’ + In the type synonym instance default declaration for ‘Typ’ + In the class declaration for ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef06.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef06.stderr index fb7f91033c..29db541832 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef06.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef06.stderr @@ -1,5 +1,5 @@ AssocTyDef06.hs:6:10: Number of parameters must match family declaration; expected no more than 1 - In the type instance declaration for ‛Typ’ - In the class declaration for ‛Cls’ + In the type instance declaration for ‘Typ’ + In the class declaration for ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr index 151f5a9b8f..c4498ed583 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef07.stderr @@ -1,3 +1,3 @@ AssocTyDef07.hs:5:10: - ‛Typ’ is not a (visible) associated type of class ‛Cls’ + ‘Typ’ is not a (visible) associated type of class ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr index 97147c7dfd..d63d369570 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef08.stderr @@ -1,3 +1,3 @@ AssocTyDef08.hs:4:10: - ‛Typ’ is not a (visible) associated type of class ‛Cls’ + ‘Typ’ is not a (visible) associated type of class ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr b/testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr index 3f8c113289..c6dfdeb0da 100644 --- a/testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr +++ b/testsuite/tests/typecheck/should_fail/AssocTyDef09.stderr @@ -1,3 +1,3 @@ AssocTyDef09.hs:8:10: - ‛OtherType’ is not a (visible) associated type of class ‛Cls’ + ‘OtherType’ is not a (visible) associated type of class ‘Cls’ diff --git a/testsuite/tests/typecheck/should_fail/ContextStack1.stderr b/testsuite/tests/typecheck/should_fail/ContextStack1.stderr index 425c79a2fe..d11a6255ed 100644 --- a/testsuite/tests/typecheck/should_fail/ContextStack1.stderr +++ b/testsuite/tests/typecheck/should_fail/ContextStack1.stderr @@ -4,4 +4,4 @@ ContextStack1.hs:10:5: Use -fcontext-stack=N to increase stack size to N Cls [[[[[[[[[[[()]]]]]]]]]]] In the expression: meth - In an equation for ‛t’: t = meth + In an equation for ‘t’: t = meth diff --git a/testsuite/tests/typecheck/should_fail/ContextStack2.stderr b/testsuite/tests/typecheck/should_fail/ContextStack2.stderr index 210e22d8db..a9c5cbc13a 100644 --- a/testsuite/tests/typecheck/should_fail/ContextStack2.stderr +++ b/testsuite/tests/typecheck/should_fail/ContextStack2.stderr @@ -6,4 +6,4 @@ ContextStack2.hs:8:6: TF (TF (TF (TF (TF (TF (TF (TF (TF (TF (TF Int))))))))))) ~ TF (TF (TF (TF (TF (TF (TF (TF (TF (TF a))))))))) In the ambiguity check for: forall a. a ~ TF (a, Int) => Int - In the type signature for ‛t’: t :: a ~ TF (a, Int) => Int + In the type signature for ‘t’: t :: a ~ TF (a, Int) => Int diff --git a/testsuite/tests/typecheck/should_fail/FDsFromGivens.stderr b/testsuite/tests/typecheck/should_fail/FDsFromGivens.stderr index cb47049f06..56d3006260 100644 --- a/testsuite/tests/typecheck/should_fail/FDsFromGivens.stderr +++ b/testsuite/tests/typecheck/should_fail/FDsFromGivens.stderr @@ -1,10 +1,10 @@ FDsFromGivens.hs:21:15:
- Could not deduce (C Char [a]) arising from a use of ‛f’
+ Could not deduce (C Char [a]) arising from a use of ‘f’
from the context (C Char Char)
bound by a pattern with constructor
KCC :: C Char Char => () -> KCC,
- in an equation for ‛bar’
+ in an equation for ‘bar’
at FDsFromGivens.hs:21:6-10
In the expression: f
- In an equation for ‛bar’: bar (KCC _) = f
+ In an equation for ‘bar’: bar (KCC _) = f
diff --git a/testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr b/testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr index 74e0bc7341..5ccc035c76 100644 --- a/testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr +++ b/testsuite/tests/typecheck/should_fail/FailDueToGivenOverlapping.stderr @@ -1,12 +1,12 @@ FailDueToGivenOverlapping.hs:27:9: - Overlapping instances for E [t0] arising from a use of ‛eop’ + Overlapping instances for E [t0] arising from a use of ‘eop’ Matching givens (or their superclasses): (E [Int]) bound by the type signature for bar :: E [Int] => () -> () at FailDueToGivenOverlapping.hs:26:8-26 Matching instances: instance E [a] -- Defined at FailDueToGivenOverlapping.hs:21:10 - (The choice depends on the instantiation of ‛t0’) + (The choice depends on the instantiation of ‘t0’) In the expression: eop [undefined] - In an equation for ‛bar’: bar _ = eop [undefined] + In an equation for ‘bar’: bar _ = eop [undefined] diff --git a/testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr b/testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr index 471643b574..848920c181 100644 --- a/testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr +++ b/testsuite/tests/typecheck/should_fail/FrozenErrorTests.stderr @@ -1,6 +1,6 @@ FrozenErrorTests.hs:12:12:
- Couldn't match type ‛Int’ with ‛Bool’
+ Couldn't match type ‘Int’ with ‘Bool’
Inaccessible code in
a pattern with constructor
MkT3 :: forall a. a ~ Bool => T a,
@@ -16,38 +16,38 @@ FrozenErrorTests.hs:26:9: Relevant bindings include
test1 :: a (bound at FrozenErrorTests.hs:26:1)
In the expression: goo1 False undefined
- In an equation for ‛test1’: test1 = goo1 False undefined
+ In an equation for ‘test1’: test1 = goo1 False undefined
FrozenErrorTests.hs:29:15:
- Couldn't match type ‛Int’ with ‛[Int]’
+ Couldn't match type ‘Int’ with ‘[Int]’
Expected type: [[Int]]
Actual type: F [Int] Bool
- In the first argument of ‛goo2’, namely ‛(goo1 False undefined)’
+ In the first argument of ‘goo2’, namely ‘(goo1 False undefined)’
In the expression: goo2 (goo1 False undefined)
- In an equation for ‛test2’: test2 = goo2 (goo1 False undefined)
+ In an equation for ‘test2’: test2 = goo2 (goo1 False undefined)
FrozenErrorTests.hs:30:9:
- Couldn't match type ‛[Int]’ with ‛Int’
+ Couldn't match type ‘[Int]’ with ‘Int’
Expected type: [[Int]]
Actual type: F [Int] Bool
In the expression: goo1 False (goo2 undefined)
- In an equation for ‛test3’: test3 = goo1 False (goo2 undefined)
+ In an equation for ‘test3’: test3 = goo1 False (goo2 undefined)
FrozenErrorTests.hs:45:15:
- Couldn't match type ‛T2 c c’ with ‛M (T2 (T2 c c) c)’
+ Couldn't match type ‘T2 c c’ with ‘M (T2 (T2 c c) c)’
Expected type: T2 (M (T2 (T2 c c) c)) (T2 (T2 c c) c)
Actual type: F (T2 (T2 c c) c) Bool
Relevant bindings include
test4 :: T2 (T2 c c) c (bound at FrozenErrorTests.hs:45:1)
- In the first argument of ‛goo4’, namely ‛(goo3 False undefined)’
+ In the first argument of ‘goo4’, namely ‘(goo3 False undefined)’
In the expression: goo4 (goo3 False undefined)
- In an equation for ‛test4’: test4 = goo4 (goo3 False undefined)
+ In an equation for ‘test4’: test4 = goo4 (goo3 False undefined)
FrozenErrorTests.hs:46:9:
- Couldn't match type ‛T2 c c’ with ‛M (T2 (T2 c c) c)’
+ Couldn't match type ‘T2 c c’ with ‘M (T2 (T2 c c) c)’
Expected type: T2 (M (T2 (T2 c c) c)) (T2 (T2 c c) c)
Actual type: F (T2 (T2 c c) c) Bool
Relevant bindings include
test5 :: T2 (T2 c c) c (bound at FrozenErrorTests.hs:46:1)
In the expression: goo3 False (goo4 undefined)
- In an equation for ‛test5’: test5 = goo3 False (goo4 undefined)
+ In an equation for ‘test5’: test5 = goo3 False (goo4 undefined)
diff --git a/testsuite/tests/typecheck/should_fail/IPFail.stderr b/testsuite/tests/typecheck/should_fail/IPFail.stderr index 127693a5ca..c617cfb776 100644 --- a/testsuite/tests/typecheck/should_fail/IPFail.stderr +++ b/testsuite/tests/typecheck/should_fail/IPFail.stderr @@ -1,9 +1,9 @@ IPFail.hs:6:18: - Could not deduce (Num Bool) arising from the literal ‛5’ + Could not deduce (Num Bool) arising from the literal ‘5’ from the context (?x::Int) bound by the type signature for f0 :: (?x::Int) => () -> Bool at IPFail.hs:5:7-31 In the expression: 5 In the expression: let ?x = 5 in ?x - In an equation for ‛f0’: f0 () = let ?x = 5 in ?x + In an equation for ‘f0’: f0 () = let ?x = 5 in ?x diff --git a/testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr b/testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr index d50cc847dd..753ee0f2af 100644 --- a/testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr +++ b/testsuite/tests/typecheck/should_fail/LongWayOverlapping.stderr @@ -1,7 +1,7 @@ LongWayOverlapping.hs:23:11: No instance for (EmbAsChild [Char] Char) - arising from a use of ‛emb’ + arising from a use of ‘emb’ In the expression: emb 'c' - In an equation for ‛emb’: emb _ = emb 'c' - In the instance declaration for ‛EmbAsChild [Char] Bool’ + In an equation for ‘emb’: emb _ = emb 'c' + In the instance declaration for ‘EmbAsChild [Char] Bool’ diff --git a/testsuite/tests/typecheck/should_fail/SCLoop.stderr b/testsuite/tests/typecheck/should_fail/SCLoop.stderr index 309dd91af0..90fe75cd3e 100644 --- a/testsuite/tests/typecheck/should_fail/SCLoop.stderr +++ b/testsuite/tests/typecheck/should_fail/SCLoop.stderr @@ -1,5 +1,5 @@ SCLoop.hs:22:7: - No instance for (SC ()) arising from a use of ‛op’ + No instance for (SC ()) arising from a use of ‘op’ In the expression: op () ([Just True]) - In an equation for ‛foo’: foo = op () ([Just True]) + In an equation for ‘foo’: foo = op () ([Just True]) diff --git a/testsuite/tests/typecheck/should_fail/SilentParametersOverlapping.stderr b/testsuite/tests/typecheck/should_fail/SilentParametersOverlapping.stderr index 255e6513eb..62d1c7820b 100644 --- a/testsuite/tests/typecheck/should_fail/SilentParametersOverlapping.stderr +++ b/testsuite/tests/typecheck/should_fail/SilentParametersOverlapping.stderr @@ -1,13 +1,13 @@ SilentParametersOverlapping.hs:15:9: - Overlapping instances for C [(t0, t1)] arising from a use of ‛c’ + Overlapping instances for C [(t0, t1)] arising from a use of ‘c’ Matching givens (or their superclasses): (C [(a, b)]) bound by the instance declaration at SilentParametersOverlapping.hs:14:37-45 Matching instances: instance C [a] -- Defined at SilentParametersOverlapping.hs:11:10 - (The choice depends on the instantiation of ‛t0, t1’) + (The choice depends on the instantiation of ‘t0, t1’) In the expression: c [(undefined, undefined)] - In an equation for ‛b’: b x = c [(undefined, undefined)] - In the instance declaration for ‛B [(a, b)]’ + In an equation for ‘b’: b x = c [(undefined, undefined)] + In the instance declaration for ‘B [(a, b)]’ diff --git a/testsuite/tests/typecheck/should_fail/T1595.stderr b/testsuite/tests/typecheck/should_fail/T1595.stderr index a84903ded7..1f999c636b 100644 --- a/testsuite/tests/typecheck/should_fail/T1595.stderr +++ b/testsuite/tests/typecheck/should_fail/T1595.stderr @@ -1,6 +1,6 @@ T1595.hs:8:15: - Not in scope: type constructor or class ‛DoesNotExist’ + Not in scope: type constructor or class ‘DoesNotExist’ T1595.hs:13:22: - Not in scope: type constructor or class ‛DoesNotExist’ + Not in scope: type constructor or class ‘DoesNotExist’ diff --git a/testsuite/tests/typecheck/should_fail/T1633.stderr b/testsuite/tests/typecheck/should_fail/T1633.stderr index 8a01bd9fd6..63eced334d 100644 --- a/testsuite/tests/typecheck/should_fail/T1633.stderr +++ b/testsuite/tests/typecheck/should_fail/T1633.stderr @@ -1,5 +1,5 @@ T1633.hs:6:18: - The first argument of ‛Functor’ should have kind ‛* -> *’, - but ‛Bool’ has kind ‛*’ - In the instance declaration for ‛Functor Bool’ + The first argument of ‘Functor’ should have kind ‘* -> *’, + but ‘Bool’ has kind ‘*’ + In the instance declaration for ‘Functor Bool’ diff --git a/testsuite/tests/typecheck/should_fail/T1897a.stderr b/testsuite/tests/typecheck/should_fail/T1897a.stderr index b495f17b1c..8a9e23bb9d 100644 --- a/testsuite/tests/typecheck/should_fail/T1897a.stderr +++ b/testsuite/tests/typecheck/should_fail/T1897a.stderr @@ -1,11 +1,11 @@ T1897a.hs:9:1: Could not deduce (Wob a0 b) - arising from the ambiguity check for ‛foo’ + arising from the ambiguity check for ‘foo’ from the context (Wob a b) - bound by the inferred type for ‛foo’: Wob a b => b -> [b] + bound by the inferred type for ‘foo’: Wob a b => b -> [b] at T1897a.hs:9:1-24 - The type variable ‛a0’ is ambiguous - When checking that ‛foo’ - has the inferred type ‛forall a b. Wob a b => b -> [b]’ + The type variable ‘a0’ is ambiguous + When checking that ‘foo’ + has the inferred type ‘forall a b. Wob a b => b -> [b]’ Probable cause: the inferred type is ambiguous diff --git a/testsuite/tests/typecheck/should_fail/T1899.stderr b/testsuite/tests/typecheck/should_fail/T1899.stderr index 55fc356324..a8baba78cc 100644 --- a/testsuite/tests/typecheck/should_fail/T1899.stderr +++ b/testsuite/tests/typecheck/should_fail/T1899.stderr @@ -1,11 +1,11 @@ T1899.hs:12:29: - Couldn't match expected type ‛a’ with actual type ‛Proposition a0’ - ‛a’ is a rigid type variable bound by + Couldn't match expected type ‘a’ with actual type ‘Proposition a0’ + ‘a’ is a rigid type variable bound by the type signature for transRHS :: [a] -> Int -> Constraint a at T1899.hs:9:14 Relevant bindings include varSet :: [a] (bound at T1899.hs:10:11) transRHS :: [a] -> Int -> Constraint a (bound at T1899.hs:10:2) - In the first argument of ‛Prop’, namely ‛(Auxiliary undefined)’ + In the first argument of ‘Prop’, namely ‘(Auxiliary undefined)’ In the expression: Prop (Auxiliary undefined) diff --git a/testsuite/tests/typecheck/should_fail/T2126.stderr b/testsuite/tests/typecheck/should_fail/T2126.stderr index 1e0a72df2e..c910148317 100644 --- a/testsuite/tests/typecheck/should_fail/T2126.stderr +++ b/testsuite/tests/typecheck/should_fail/T2126.stderr @@ -1,4 +1,4 @@ T2126.hs:5:1: - A newtype must have exactly one constructor, but ‛X’ has none - In the newtype declaration for ‛X’ + A newtype must have exactly one constructor, but ‘X’ has none + In the newtype declaration for ‘X’ diff --git a/testsuite/tests/typecheck/should_fail/T2247.stderr b/testsuite/tests/typecheck/should_fail/T2247.stderr index 6a99d541d6..edf4246b46 100644 --- a/testsuite/tests/typecheck/should_fail/T2247.stderr +++ b/testsuite/tests/typecheck/should_fail/T2247.stderr @@ -1,7 +1,7 @@ T2247.hs:6:10: - Illegal instance declaration for ‛FD a b’ - The liberal coverage condition fails in class ‛FD’ - for functional dependency: ‛a -> b’ - Reason: lhs type ‛a’ does not determine rhs type ‛b’ - In the instance declaration for ‛FD a b’ + Illegal instance declaration for ‘FD a b’ + The liberal coverage condition fails in class ‘FD’ + for functional dependency: ‘a -> b’ + Reason: lhs type ‘a’ does not determine rhs type ‘b’ + In the instance declaration for ‘FD a b’ diff --git a/testsuite/tests/typecheck/should_fail/T2354.stderr b/testsuite/tests/typecheck/should_fail/T2354.stderr index cc0fac9794..5c5fcfcf0e 100644 --- a/testsuite/tests/typecheck/should_fail/T2354.stderr +++ b/testsuite/tests/typecheck/should_fail/T2354.stderr @@ -1,6 +1,6 @@ T2354.hs:4:3: - The NOINLINE pragma for default method ‛toInt’ lacks an accompanying binding + The NOINLINE pragma for default method ‘toInt’ lacks an accompanying binding T2354.hs:6:3: - The NOINLINE pragma for default method ‛fromInt’ lacks an accompanying binding + The NOINLINE pragma for default method ‘fromInt’ lacks an accompanying binding diff --git a/testsuite/tests/typecheck/should_fail/T2414.stderr b/testsuite/tests/typecheck/should_fail/T2414.stderr index cedf04d8cf..7c4310398d 100644 --- a/testsuite/tests/typecheck/should_fail/T2414.stderr +++ b/testsuite/tests/typecheck/should_fail/T2414.stderr @@ -3,5 +3,5 @@ T2414.hs:9:13: Occurs check: cannot construct the infinite type: b0 ~ (Bool, b0) Expected type: b0 -> Maybe (Bool, b0) Actual type: b0 -> Maybe b0 - In the first argument of ‛unfoldr’, namely ‛Just’ + In the first argument of ‘unfoldr’, namely ‘Just’ In the expression: unfoldr Just diff --git a/testsuite/tests/typecheck/should_fail/T2534.stderr b/testsuite/tests/typecheck/should_fail/T2534.stderr index 389b515957..7a0aa3a991 100644 --- a/testsuite/tests/typecheck/should_fail/T2534.stderr +++ b/testsuite/tests/typecheck/should_fail/T2534.stderr @@ -1,8 +1,8 @@ T2534.hs:3:19: - Couldn't match expected type ‛a -> a -> b’ with actual type ‛[t0]’ + Couldn't match expected type ‘a -> a -> b’ with actual type ‘[t0]’ Relevant bindings include foo :: a -> a -> b (bound at T2534.hs:3:1) - In the second argument of ‛foldr’, namely ‛[]’ + In the second argument of ‘foldr’, namely ‘[]’ In the expression: foldr (>>=) [] [] - In an equation for ‛foo’: foo = foldr (>>=) [] [] + In an equation for ‘foo’: foo = foldr (>>=) [] [] diff --git a/testsuite/tests/typecheck/should_fail/T2538.stderr b/testsuite/tests/typecheck/should_fail/T2538.stderr index 9838eb5bff..884eafb271 100644 --- a/testsuite/tests/typecheck/should_fail/T2538.stderr +++ b/testsuite/tests/typecheck/should_fail/T2538.stderr @@ -2,13 +2,13 @@ T2538.hs:6:6: Illegal polymorphic or qualified type: Eq a => a -> a Perhaps you intended to use RankNTypes or Rank2Types - In the type signature for ‛f’: f :: (Eq a => a -> a) -> Int + In the type signature for ‘f’: f :: (Eq a => a -> a) -> Int T2538.hs:9:6: Illegal polymorphic or qualified type: Eq a => a -> a Perhaps you intended to use ImpredicativeTypes - In the type signature for ‛g’: g :: [Eq a => a -> a] -> Int + In the type signature for ‘g’: g :: [Eq a => a -> a] -> Int T2538.hs:12:6: Illegal polymorphic or qualified type: Eq a => a -> a - In the type signature for ‛h’: h :: Ix (Eq a => a -> a) => Int + In the type signature for ‘h’: h :: Ix (Eq a => a -> a) => Int diff --git a/testsuite/tests/typecheck/should_fail/T2688.stderr b/testsuite/tests/typecheck/should_fail/T2688.stderr index 6ee894487d..b117f02f9f 100644 --- a/testsuite/tests/typecheck/should_fail/T2688.stderr +++ b/testsuite/tests/typecheck/should_fail/T2688.stderr @@ -2,15 +2,15 @@ T2688.hs:8:22: Could not deduce (s ~ v) from the context (VectorSpace v s) - bound by the class declaration for ‛VectorSpace’ + bound by the class declaration for ‘VectorSpace’ at T2688.hs:(5,1)-(8,23) - ‛s’ is a rigid type variable bound by - the class declaration for ‛VectorSpace’ at T2688.hs:5:21 - ‛v’ is a rigid type variable bound by - the class declaration for ‛VectorSpace’ at T2688.hs:5:19 + ‘s’ is a rigid type variable bound by + the class declaration for ‘VectorSpace’ at T2688.hs:5:21 + ‘v’ is a rigid type variable bound by + the class declaration for ‘VectorSpace’ at T2688.hs:5:19 Relevant bindings include s :: s (bound at T2688.hs:8:10) v :: v (bound at T2688.hs:8:5) (^/) :: v -> s -> v (bound at T2688.hs:8:5) - In the second argument of ‛(/)’, namely ‛s’ - In the second argument of ‛(*^)’, namely ‛(1 / s)’ + In the second argument of ‘(/)’, namely ‘s’ + In the second argument of ‘(*^)’, namely ‘(1 / s)’ diff --git a/testsuite/tests/typecheck/should_fail/T2714.stderr b/testsuite/tests/typecheck/should_fail/T2714.stderr index 4b42c06440..df64852557 100644 --- a/testsuite/tests/typecheck/should_fail/T2714.stderr +++ b/testsuite/tests/typecheck/should_fail/T2714.stderr @@ -1,7 +1,7 @@ T2714.hs:8:5: - Couldn't match type ‛a’ with ‛f0 b’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘f0 b’ + ‘a’ is a rigid type variable bound by the type signature for f :: ((a -> b) -> b) -> forall c. c -> a at T2714.hs:7:6 Expected type: ((a -> b) -> b) -> c -> a @@ -9,11 +9,11 @@ T2714.hs:8:5: Relevant bindings include f :: ((a -> b) -> b) -> forall c. c -> a (bound at T2714.hs:8:1) In the expression: ffmap - In an equation for ‛f’: f = ffmap + In an equation for ‘f’: f = ffmap T2714.hs:8:5: - Couldn't match type ‛c’ with ‛f0 (a -> b)’ - ‛c’ is a rigid type variable bound by + Couldn't match type ‘c’ with ‘f0 (a -> b)’ + ‘c’ is a rigid type variable bound by the type signature for f :: ((a -> b) -> b) -> c -> a at T2714.hs:8:1 Expected type: ((a -> b) -> b) -> c -> a @@ -21,4 +21,4 @@ T2714.hs:8:5: Relevant bindings include f :: ((a -> b) -> b) -> forall c. c -> a (bound at T2714.hs:8:1) In the expression: ffmap - In an equation for ‛f’: f = ffmap + In an equation for ‘f’: f = ffmap diff --git a/testsuite/tests/typecheck/should_fail/T2806.stderr b/testsuite/tests/typecheck/should_fail/T2806.stderr index b0130e223a..25cc8e65a0 100644 --- a/testsuite/tests/typecheck/should_fail/T2806.stderr +++ b/testsuite/tests/typecheck/should_fail/T2806.stderr @@ -2,7 +2,7 @@ T2806.hs:12:11: Pattern bindings containing unlifted types should use an outermost bang pattern: (I# _x) = 4 - In an equation for ‛foo’: + In an equation for ‘foo’: foo = 3 where diff --git a/testsuite/tests/typecheck/should_fail/T2846b.stderr b/testsuite/tests/typecheck/should_fail/T2846b.stderr index 23b6a6a0e2..34d24ae8f6 100644 --- a/testsuite/tests/typecheck/should_fail/T2846b.stderr +++ b/testsuite/tests/typecheck/should_fail/T2846b.stderr @@ -1,5 +1,5 @@ T2846b.hs:5:5: - No instance for (Show (Num a0 => a0)) arising from a use of ‛show’ + No instance for (Show (Num a0 => a0)) arising from a use of ‘show’ In the expression: show ([1, 2, 3] :: [Num a => a]) - In an equation for ‛f’: f = show ([1, 2, 3] :: [Num a => a]) + In an equation for ‘f’: f = show ([1, 2, 3] :: [Num a => a]) diff --git a/testsuite/tests/typecheck/should_fail/T2994.stderr b/testsuite/tests/typecheck/should_fail/T2994.stderr index 2794cb2afc..83e96b45da 100644 --- a/testsuite/tests/typecheck/should_fail/T2994.stderr +++ b/testsuite/tests/typecheck/should_fail/T2994.stderr @@ -1,16 +1,16 @@ T2994.hs:11:10: - Expecting one more argument to ‛MonadReader Int’ + Expecting one more argument to ‘MonadReader Int’ Expected a constraint, - but ‛MonadReader Int’ has kind ‛* -> Constraint’ - In the instance declaration for ‛MonadReader Int’ + but ‘MonadReader Int’ has kind ‘* -> Constraint’ + In the instance declaration for ‘MonadReader Int’ T2994.hs:13:23: - Expecting one more argument to ‛Reader' r’ - The first argument of ‛MonadReader’ should have kind ‛*’, - but ‛Reader' r’ has kind ‛* -> *’ - In the instance declaration for ‛MonadReader (Reader' r)’ + Expecting one more argument to ‘Reader' r’ + The first argument of ‘MonadReader’ should have kind ‘*’, + but ‘Reader' r’ has kind ‘* -> *’ + In the instance declaration for ‘MonadReader (Reader' r)’ T2994.hs:15:10: - ‛MonadReader’ is applied to too many type arguments - In the instance declaration for ‛MonadReader r r (Reader' r)’ + ‘MonadReader’ is applied to too many type arguments + In the instance declaration for ‘MonadReader r r (Reader' r)’ diff --git a/testsuite/tests/typecheck/should_fail/T3102.stderr b/testsuite/tests/typecheck/should_fail/T3102.stderr index 1d4348ed12..d23a2729c1 100644 --- a/testsuite/tests/typecheck/should_fail/T3102.stderr +++ b/testsuite/tests/typecheck/should_fail/T3102.stderr @@ -1,9 +1,9 @@ T3102.hs:11:12: - Couldn't match type ‛a’ with ‛(?p::Int) => a0’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘(?p::Int) => a0’ + ‘a’ is a rigid type variable bound by a type expected by the context: a -> String at T3102.hs:11:10 Expected type: a -> String Actual type: ((?p::Int) => a0) -> String - In the first argument of ‛f’, namely ‛t’ + In the first argument of ‘f’, namely ‘t’ In the expression: f t diff --git a/testsuite/tests/typecheck/should_fail/T3176.stderr b/testsuite/tests/typecheck/should_fail/T3176.stderr index 160eb4769e..50e6b52c78 100644 --- a/testsuite/tests/typecheck/should_fail/T3176.stderr +++ b/testsuite/tests/typecheck/should_fail/T3176.stderr @@ -1,7 +1,7 @@ T3176.hs:9:27: - Cannot use record selector ‛unES’ as a function due to escaped type variables + Cannot use record selector ‘unES’ as a function due to escaped type variables Probable fix: use pattern-matching syntax instead In the expression: unES - In the second argument of ‛($)’, namely ‛unES $ f t’ + In the second argument of ‘($)’, namely ‘unES $ f t’ In the expression: show $ unES $ f t diff --git a/testsuite/tests/typecheck/should_fail/T3323.stderr b/testsuite/tests/typecheck/should_fail/T3323.stderr index 029ef73578..2f8344bb4e 100644 --- a/testsuite/tests/typecheck/should_fail/T3323.stderr +++ b/testsuite/tests/typecheck/should_fail/T3323.stderr @@ -2,4 +2,4 @@ T3323.hs:18:7: Record update for insufficiently polymorphic field: haDevice :: dev In the expression: h {haDevice = undefined} - In an equation for ‛f’: f h = h {haDevice = undefined} + In an equation for ‘f’: f h = h {haDevice = undefined} diff --git a/testsuite/tests/typecheck/should_fail/T3406.stderr b/testsuite/tests/typecheck/should_fail/T3406.stderr index 40779d4f2e..4525bba5d6 100644 --- a/testsuite/tests/typecheck/should_fail/T3406.stderr +++ b/testsuite/tests/typecheck/should_fail/T3406.stderr @@ -1,10 +1,10 @@ T3406.hs:11:6: - The type variables ‛a, b’ - should be bound by the pattern signature ‛ItemColID a b’ + The type variables ‘a, b’ + should be bound by the pattern signature ‘ItemColID a b’ but are actually discarded by a type synonym To fix this, expand the type synonym [Note: I hope to lift this restriction in due course] In the pattern: x :: ItemColID a b - In an equation for ‛get’: + In an equation for ‘get’: get (x :: ItemColID a b) = x :: ItemColID a b diff --git a/testsuite/tests/typecheck/should_fail/T3468.stderr b/testsuite/tests/typecheck/should_fail/T3468.stderr index 010d673e4d..17bc7fba01 100644 --- a/testsuite/tests/typecheck/should_fail/T3468.stderr +++ b/testsuite/tests/typecheck/should_fail/T3468.stderr @@ -1,6 +1,6 @@ T3468.hs-boot:3:1: - Type constructor ‛Tool’ has conflicting definitions in the module + Type constructor ‘Tool’ has conflicting definitions in the module and its hs-boot file Main module: type role Tool phantom data Tool d where diff --git a/testsuite/tests/typecheck/should_fail/T3540.stderr b/testsuite/tests/typecheck/should_fail/T3540.stderr index db84dcd62c..3c447bb1e5 100644 --- a/testsuite/tests/typecheck/should_fail/T3540.stderr +++ b/testsuite/tests/typecheck/should_fail/T3540.stderr @@ -1,20 +1,20 @@ T3540.hs:4:12: - Expected a type, but ‛a ~ Int’ has kind ‛Constraint’ - In the type signature for ‛thing’: thing :: a ~ Int + Expected a type, but ‘a ~ Int’ has kind ‘Constraint’ + In the type signature for ‘thing’: thing :: a ~ Int T3540.hs:7:20: - Expected a type, but ‛a ~ Int’ has kind ‛Constraint’ - In the type signature for ‛thing1’: thing1 :: Int -> (a ~ Int) + Expected a type, but ‘a ~ Int’ has kind ‘Constraint’ + In the type signature for ‘thing1’: thing1 :: Int -> (a ~ Int) T3540.hs:10:13: - Expected a type, but ‛a ~ Int’ has kind ‛Constraint’ - In the type signature for ‛thing2’: thing2 :: (a ~ Int) -> Int + Expected a type, but ‘a ~ Int’ has kind ‘Constraint’ + In the type signature for ‘thing2’: thing2 :: (a ~ Int) -> Int T3540.hs:13:12: - Expected a type, but ‛?dude :: Int’ has kind ‛Constraint’ - In the type signature for ‛thing3’: thing3 :: (?dude :: Int) -> Int + Expected a type, but ‘?dude :: Int’ has kind ‘Constraint’ + In the type signature for ‘thing3’: thing3 :: (?dude :: Int) -> Int T3540.hs:16:11: - Expected a type, but ‛Eq a’ has kind ‛Constraint’ - In the type signature for ‛thing4’: thing4 :: (Eq a) -> Int + Expected a type, but ‘Eq a’ has kind ‘Constraint’ + In the type signature for ‘thing4’: thing4 :: (Eq a) -> Int diff --git a/testsuite/tests/typecheck/should_fail/T3592.stderr b/testsuite/tests/typecheck/should_fail/T3592.stderr index be59667e34..a7f0f28b16 100644 --- a/testsuite/tests/typecheck/should_fail/T3592.stderr +++ b/testsuite/tests/typecheck/should_fail/T3592.stderr @@ -1,13 +1,13 @@ T3592.hs:8:5: - No instance for (Show (T a)) arising from a use of ‛show’ + No instance for (Show (T a)) arising from a use of ‘show’ In the expression: show - In an equation for ‛f’: f = show + In an equation for ‘f’: f = show T3592.hs:11:7: - No instance for (Show a) arising from a use of ‛show’ + No instance for (Show a) arising from a use of ‘show’ Possible fix: add (Show a) to the context of the type signature for g :: T a -> String In the expression: show x - In an equation for ‛g’: g x = show x + In an equation for ‘g’: g x = show x diff --git a/testsuite/tests/typecheck/should_fail/T3613.stderr b/testsuite/tests/typecheck/should_fail/T3613.stderr index cbd4889b57..f230fc469d 100644 --- a/testsuite/tests/typecheck/should_fail/T3613.stderr +++ b/testsuite/tests/typecheck/should_fail/T3613.stderr @@ -1,16 +1,16 @@ T3613.hs:14:20: - Couldn't match type ‛IO’ with ‛Maybe’ + Couldn't match type ‘IO’ with ‘Maybe’ Expected type: Maybe () Actual type: IO () - In the first argument of ‛(>>)’, namely ‛bar’ - In the first argument of ‛fooThen’, namely ‛(bar >> undefined)’ + In the first argument of ‘(>>)’, namely ‘bar’ + In the first argument of ‘fooThen’, namely ‘(bar >> undefined)’ T3613.hs:17:24: - Couldn't match type ‛IO’ with ‛Maybe’ + Couldn't match type ‘IO’ with ‘Maybe’ Expected type: Maybe () Actual type: IO () In a stmt of a 'do' block: bar - In the first argument of ‛fooThen’, namely - ‛(do { bar; + In the first argument of ‘fooThen’, namely + ‘(do { bar; undefined })’ diff --git a/testsuite/tests/typecheck/should_fail/T3950.stderr b/testsuite/tests/typecheck/should_fail/T3950.stderr index 56e69e2c43..0fc428e183 100644 --- a/testsuite/tests/typecheck/should_fail/T3950.stderr +++ b/testsuite/tests/typecheck/should_fail/T3950.stderr @@ -1,9 +1,9 @@ T3950.hs:15:13: - Couldn't match type ‛Id p0 x0’ with ‛Id p’ + Couldn't match type ‘Id p0 x0’ with ‘Id p’ Expected type: w (Id p) Actual type: Sealed (Id p0 x0) Relevant bindings include rp :: Bool -> Maybe (w (Id p)) (bound at T3950.hs:15:1) - In the first argument of ‛Just’, namely ‛rp'’ + In the first argument of ‘Just’, namely ‘rp'’ In the expression: Just rp' diff --git a/testsuite/tests/typecheck/should_fail/T3966.stderr b/testsuite/tests/typecheck/should_fail/T3966.stderr index 6e292b0887..7c98948f0e 100644 --- a/testsuite/tests/typecheck/should_fail/T3966.stderr +++ b/testsuite/tests/typecheck/should_fail/T3966.stderr @@ -1,8 +1,8 @@ T3966.hs:5:16: Warning: - Ignoring unusable UNPACK pragma on the first argument of ‛Foo’ - In the definition of data constructor ‛Foo’ - In the data declaration for ‛Foo’ + Ignoring unusable UNPACK pragma on the first argument of ‘Foo’ + In the definition of data constructor ‘Foo’ + In the data declaration for ‘Foo’ <no location info>: Failing due to -Werror. diff --git a/testsuite/tests/typecheck/should_fail/T4875.stderr b/testsuite/tests/typecheck/should_fail/T4875.stderr index ae88bdf976..6f885d24fe 100644 --- a/testsuite/tests/typecheck/should_fail/T4875.stderr +++ b/testsuite/tests/typecheck/should_fail/T4875.stderr @@ -1,5 +1,5 @@ T4875.hs:27:24: - ‛r’ is applied to too many type arguments - In the type ‛r c -> [c]’ - In the class declaration for ‛Morphic’ + ‘r’ is applied to too many type arguments + In the type ‘r c -> [c]’ + In the class declaration for ‘Morphic’ diff --git a/testsuite/tests/typecheck/should_fail/T5051.stderr b/testsuite/tests/typecheck/should_fail/T5051.stderr index 2dae81062f..f6225ea406 100644 --- a/testsuite/tests/typecheck/should_fail/T5051.stderr +++ b/testsuite/tests/typecheck/should_fail/T5051.stderr @@ -1,11 +1,11 @@ T5051.hs:11:11: - Overlapping instances for Eq [a] arising from a use of ‛>=’ + Overlapping instances for Eq [a] arising from a use of ‘>=’ Matching instances: - instance Eq a => Eq [a] -- Defined in ‛GHC.Classes’ + instance Eq a => Eq [a] -- Defined in ‘GHC.Classes’ instance [overlap ok] Eq [T] -- Defined at T5051.hs:8:10 - (The choice depends on the instantiation of ‛a’ + (The choice depends on the instantiation of ‘a’ To pick the first instance above, use IncoherentInstances when compiling the other instance declarations) In the expression: x >= x - In an equation for ‛foo’: foo x = x >= x + In an equation for ‘foo’: foo x = x >= x diff --git a/testsuite/tests/typecheck/should_fail/T5084.stderr b/testsuite/tests/typecheck/should_fail/T5084.stderr index de9b4b1469..c2bd522a0b 100644 --- a/testsuite/tests/typecheck/should_fail/T5084.stderr +++ b/testsuite/tests/typecheck/should_fail/T5084.stderr @@ -1,3 +1,3 @@ T5084.hs:6:5: - The INLINE pragma for default method ‛bar’ lacks an accompanying binding + The INLINE pragma for default method ‘bar’ lacks an accompanying binding diff --git a/testsuite/tests/typecheck/should_fail/T5095.stderr b/testsuite/tests/typecheck/should_fail/T5095.stderr index 37bfccbf17..25f1185425 100644 --- a/testsuite/tests/typecheck/should_fail/T5095.stderr +++ b/testsuite/tests/typecheck/should_fail/T5095.stderr @@ -1,66 +1,66 @@ T5095.hs:9:11: - Overlapping instances for Eq a arising from a use of ‛==’ + Overlapping instances for Eq a arising from a use of ‘==’ Matching instances: instance [overlap ok] Show a => Eq a -- Defined at T5095.hs:5:10 - instance Eq a => Eq (GHC.Real.Ratio a) -- Defined in ‛GHC.Real’ - instance Eq () -- Defined in ‛GHC.Classes’ - instance (Eq a, Eq b) => Eq (a, b) -- Defined in ‛GHC.Classes’ + instance Eq a => Eq (GHC.Real.Ratio a) -- Defined in ‘GHC.Real’ + instance Eq () -- Defined in ‘GHC.Classes’ + instance (Eq a, Eq b) => Eq (a, b) -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c) => Eq (a, b, c) - -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c, Eq d) => Eq (a, b, c, d) - -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c, Eq d, Eq e) => Eq (a, b, c, d, e) - -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c, Eq d, Eq e, Eq f) => Eq (a, b, c, d, e, f) - -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g) => Eq (a, b, c, d, e, f, g) - -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h) => Eq (a, b, c, d, e, f, g, h) - -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i) => Eq (a, b, c, d, e, f, g, h, i) - -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j) => Eq (a, b, c, d, e, f, g, h, i, j) - -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k) => Eq (a, b, c, d, e, f, g, h, i, j, k) - -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k, Eq l) => Eq (a, b, c, d, e, f, g, h, i, j, k, l) - -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k, Eq l, Eq m) => Eq (a, b, c, d, e, f, g, h, i, j, k, l, m) - -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k, Eq l, Eq m, Eq n) => Eq (a, b, c, d, e, f, g, h, i, j, k, l, m, n) - -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ instance (Eq a, Eq b, Eq c, Eq d, Eq e, Eq f, Eq g, Eq h, Eq i, Eq j, Eq k, Eq l, Eq m, Eq n, Eq o) => Eq (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) - -- Defined in ‛GHC.Classes’ - instance Eq Bool -- Defined in ‛GHC.Classes’ - instance Eq Char -- Defined in ‛GHC.Classes’ - instance Eq Double -- Defined in ‛GHC.Classes’ - instance Eq Float -- Defined in ‛GHC.Classes’ - instance Eq Int -- Defined in ‛GHC.Classes’ - instance Eq Ordering -- Defined in ‛GHC.Classes’ - instance Eq GHC.Types.Word -- Defined in ‛GHC.Classes’ - instance Eq a => Eq [a] -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Classes’ + instance Eq Bool -- Defined in ‘GHC.Classes’ + instance Eq Char -- Defined in ‘GHC.Classes’ + instance Eq Double -- Defined in ‘GHC.Classes’ + instance Eq Float -- Defined in ‘GHC.Classes’ + instance Eq Int -- Defined in ‘GHC.Classes’ + instance Eq Ordering -- Defined in ‘GHC.Classes’ + instance Eq GHC.Types.Word -- Defined in ‘GHC.Classes’ + instance Eq a => Eq [a] -- Defined in ‘GHC.Classes’ instance Eq a => Eq (Control.Applicative.ZipList a) - -- Defined in ‛Control.Applicative’ - instance Eq Integer -- Defined in ‛integer-gmp:GHC.Integer.Type’ - (The choice depends on the instantiation of ‛a’ + -- Defined in ‘Control.Applicative’ + instance Eq Integer -- Defined in ‘integer-gmp:GHC.Integer.Type’ + (The choice depends on the instantiation of ‘a’ To pick the first instance above, use IncoherentInstances when compiling the other instance declarations) In the expression: x == y - In an equation for ‛f’: f x y = x == y + In an equation for ‘f’: f x y = x == y diff --git a/testsuite/tests/typecheck/should_fail/T5236.stderr b/testsuite/tests/typecheck/should_fail/T5236.stderr index f448534b67..557a0413c9 100644 --- a/testsuite/tests/typecheck/should_fail/T5236.stderr +++ b/testsuite/tests/typecheck/should_fail/T5236.stderr @@ -1,5 +1,5 @@ T5236.hs:17:5:
- No instance for (Id A B) arising from a use of ‛loop’
+ No instance for (Id A B) arising from a use of ‘loop’
In the expression: loop
- In an equation for ‛f’: f = loop
+ In an equation for ‘f’: f = loop
diff --git a/testsuite/tests/typecheck/should_fail/T5246.stderr b/testsuite/tests/typecheck/should_fail/T5246.stderr index fc8e35ef51..bd075cbb43 100644 --- a/testsuite/tests/typecheck/should_fail/T5246.stderr +++ b/testsuite/tests/typecheck/should_fail/T5246.stderr @@ -1,9 +1,9 @@ T5246.hs:11:10:
- Could not deduce (?x::Int) arising from a use of ‛foo’
+ Could not deduce (?x::Int) arising from a use of ‘foo’
from the context (?x::[Char])
bound by the implicit-parameter bindings for ?x
at T5246.hs:(10,7)-(11,12)
In the expression: foo
In the expression: let ?x = "hello" in foo
- In an equation for ‛bar’: bar = let ?x = "hello" in foo
+ In an equation for ‘bar’: bar = let ?x = "hello" in foo
diff --git a/testsuite/tests/typecheck/should_fail/T5300.stderr b/testsuite/tests/typecheck/should_fail/T5300.stderr index d32af5b18e..c94f11531f 100644 --- a/testsuite/tests/typecheck/should_fail/T5300.stderr +++ b/testsuite/tests/typecheck/should_fail/T5300.stderr @@ -1,34 +1,34 @@ T5300.hs:11:7: Could not deduce (C1 a b c0) - arising from the ambiguity check for ‛f1’ + arising from the ambiguity check for ‘f1’ from the context (Monad m, C1 a b c) bound by the type signature for f1 :: (Monad m, C1 a b c) => a -> StateT (T b) m a at T5300.hs:11:7-50 - The type variable ‛c0’ is ambiguous + The type variable ‘c0’ is ambiguous In the ambiguity check for: forall a b (m :: * -> *) c. (Monad m, C1 a b c) => a -> StateT (T b) m a To defer the ambiguity check to use sites, enable AllowAmbiguousTypes - In the type signature for ‛f1’: + In the type signature for ‘f1’: f1 :: (Monad m, C1 a b c) => a -> StateT (T b) m a T5300.hs:14:7: Could not deduce (C1 a1 b1 c10) - arising from the ambiguity check for ‛f2’ + arising from the ambiguity check for ‘f2’ from the context (Monad m, C1 a1 b1 c1, C2 a2 b2 c2) bound by the type signature for f2 :: (Monad m, C1 a1 b1 c1, C2 a2 b2 c2) => a1 -> StateT (T b2) m a2 at T5300.hs:14:7-69 - The type variable ‛c10’ is ambiguous + The type variable ‘c10’ is ambiguous In the ambiguity check for: forall a1 b2 (m :: * -> *) a2 b1 c1 c2. (Monad m, C1 a1 b1 c1, C2 a2 b2 c2) => a1 -> StateT (T b2) m a2 To defer the ambiguity check to use sites, enable AllowAmbiguousTypes - In the type signature for ‛f2’: + In the type signature for ‘f2’: f2 :: (Monad m, C1 a1 b1 c1, C2 a2 b2 c2) => a1 -> StateT (T b2) m a2 diff --git a/testsuite/tests/typecheck/should_fail/T5570.stderr b/testsuite/tests/typecheck/should_fail/T5570.stderr index 7bf7535815..626533cdaa 100644 --- a/testsuite/tests/typecheck/should_fail/T5570.stderr +++ b/testsuite/tests/typecheck/should_fail/T5570.stderr @@ -3,6 +3,6 @@ T5570.hs:7:16: Kind incompatibility when matching types:
s0 :: *
Double# :: #
- In the second argument of ‛($)’, namely ‛D# $ 3.0##’
+ In the second argument of ‘($)’, namely ‘D# $ 3.0##’
In the expression: print $ D# $ 3.0##
- In an equation for ‛main’: main = print $ D# $ 3.0##
+ In an equation for ‘main’: main = print $ D# $ 3.0##
diff --git a/testsuite/tests/typecheck/should_fail/T5684.stderr b/testsuite/tests/typecheck/should_fail/T5684.stderr index f3534f506d..56b0800351 100644 --- a/testsuite/tests/typecheck/should_fail/T5684.stderr +++ b/testsuite/tests/typecheck/should_fail/T5684.stderr @@ -1,64 +1,64 @@ T5684.hs:25:12: - No instance for (A b6) arising from a use of ‛op’ + No instance for (A b6) arising from a use of ‘op’ In the expression: op True undefined In the expression: [op False False, op 'c' undefined, op True undefined] - In an equation for ‛flop1’: + In an equation for ‘flop1’: flop1 = [op False False, op 'c' undefined, op True undefined] T5684.hs:30:12: - No instance for (A b5) arising from a use of ‛op’ + No instance for (A b5) arising from a use of ‘op’ In the expression: op True undefined In the expression: [op False False, op True undefined, op 'c' undefined] - In an equation for ‛flop2’: + In an equation for ‘flop2’: flop2 = [op False False, op True undefined, op 'c' undefined] T5684.hs:36:12: - No instance for (A b4) arising from a use of ‛op’ + No instance for (A b4) arising from a use of ‘op’ In the expression: op True undefined In the expression: [op 'c' undefined, op True undefined, op False False] - In an equation for ‛flop3’: + In an equation for ‘flop3’: flop3 = [op 'c' undefined, op True undefined, op False False] T5684.hs:42:12: - No instance for (A b3) arising from a use of ‛op’ + No instance for (A b3) arising from a use of ‘op’ In the expression: op True undefined In the expression: [op 'c' undefined, op False False, op True undefined] - In an equation for ‛flop4’: + In an equation for ‘flop4’: flop4 = [op 'c' undefined, op False False, op True undefined] T5684.hs:46:12: - No instance for (A b2) arising from a use of ‛op’ + No instance for (A b2) arising from a use of ‘op’ In the expression: op True undefined In the expression: [op True undefined, op 'c' undefined, op False False] - In an equation for ‛flop5’: + In an equation for ‘flop5’: flop5 = [op True undefined, op 'c' undefined, op False False] T5684.hs:52:12: - No instance for (A b0) arising from a use of ‛op’ + No instance for (A b0) arising from a use of ‘op’ In the expression: op True undefined In the expression: [op True undefined, op False False, op 'c' undefined] - In an equation for ‛flop6’: + In an equation for ‘flop6’: flop6 = [op True undefined, op False False, op 'c' undefined] T5684.hs:53:12: - No instance for (A Bool) arising from a use of ‛op’ + No instance for (A Bool) arising from a use of ‘op’ In the expression: op False False In the expression: [op True undefined, op False False, op 'c' undefined] - In an equation for ‛flop6’: + In an equation for ‘flop6’: flop6 = [op True undefined, op False False, op 'c' undefined] T5684.hs:54:12: - No instance for (B Char b1) arising from a use of ‛op’ + No instance for (B Char b1) arising from a use of ‘op’ In the expression: op 'c' undefined In the expression: [op True undefined, op False False, op 'c' undefined] - In an equation for ‛flop6’: + In an equation for ‘flop6’: flop6 = [op True undefined, op False False, op 'c' undefined] diff --git a/testsuite/tests/typecheck/should_fail/T5689.stderr b/testsuite/tests/typecheck/should_fail/T5689.stderr index 33d7fc9d6d..211ec522a1 100644 --- a/testsuite/tests/typecheck/should_fail/T5689.stderr +++ b/testsuite/tests/typecheck/should_fail/T5689.stderr @@ -1,6 +1,6 @@ T5689.hs:10:36: - Couldn't match expected type ‛Bool’ with actual type ‛t’ + Couldn't match expected type ‘Bool’ with actual type ‘t’ Relevant bindings include v :: t (bound at T5689.hs:10:28) r :: IORef (t -> t) (bound at T5689.hs:7:14) @@ -8,7 +8,7 @@ T5689.hs:10:36: In the expression: if v then False else True T5689.hs:10:43: - Couldn't match expected type ‛t’ with actual type ‛Bool’ + Couldn't match expected type ‘t’ with actual type ‘Bool’ Relevant bindings include v :: t (bound at T5689.hs:10:28) r :: IORef (t -> t) (bound at T5689.hs:7:14) @@ -16,7 +16,7 @@ T5689.hs:10:43: In the expression: if v then False else True T5689.hs:10:54: - Couldn't match expected type ‛t’ with actual type ‛Bool’ + Couldn't match expected type ‘t’ with actual type ‘Bool’ Relevant bindings include v :: t (bound at T5689.hs:10:28) r :: IORef (t -> t) (bound at T5689.hs:7:14) @@ -24,9 +24,9 @@ T5689.hs:10:54: In the expression: if v then False else True T5689.hs:14:23: - Couldn't match expected type ‛t’ with actual type ‛Bool’ + Couldn't match expected type ‘t’ with actual type ‘Bool’ Relevant bindings include c :: t -> t (bound at T5689.hs:12:13) r :: IORef (t -> t) (bound at T5689.hs:7:14) - In the first argument of ‛c’, namely ‛True’ - In the second argument of ‛($)’, namely ‛c True’ + In the first argument of ‘c’, namely ‘True’ + In the second argument of ‘($)’, namely ‘c True’ diff --git a/testsuite/tests/typecheck/should_fail/T5691.stderr b/testsuite/tests/typecheck/should_fail/T5691.stderr index 497ec7794a..674ffc76d7 100644 --- a/testsuite/tests/typecheck/should_fail/T5691.stderr +++ b/testsuite/tests/typecheck/should_fail/T5691.stderr @@ -1,16 +1,16 @@ T5691.hs:14:9: - Couldn't match type ‛p’ with ‛PrintRuleInterp’ + Couldn't match type ‘p’ with ‘PrintRuleInterp’ Expected type: PrintRuleInterp a Actual type: p a In the pattern: f :: p a - In an equation for ‛test’: test (f :: p a) = MkPRI $ printRule_ f - In the instance declaration for ‛Test PrintRuleInterp’ + In an equation for ‘test’: test (f :: p a) = MkPRI $ printRule_ f + In the instance declaration for ‘Test PrintRuleInterp’ T5691.hs:15:24: - Couldn't match type ‛p’ with ‛PrintRuleInterp’ + Couldn't match type ‘p’ with ‘PrintRuleInterp’ Expected type: PrintRuleInterp a Actual type: p a Relevant bindings include f :: p a (bound at T5691.hs:14:9) - In the first argument of ‛printRule_’, namely ‛f’ - In the second argument of ‛($)’, namely ‛printRule_ f’ + In the first argument of ‘printRule_’, namely ‘f’ + In the second argument of ‘($)’, namely ‘printRule_ f’ diff --git a/testsuite/tests/typecheck/should_fail/T5853.stderr b/testsuite/tests/typecheck/should_fail/T5853.stderr index 770b7bb621..997ce196c3 100644 --- a/testsuite/tests/typecheck/should_fail/T5853.stderr +++ b/testsuite/tests/typecheck/should_fail/T5853.stderr @@ -8,7 +8,7 @@ T5853.hs:15:52: Elem (Subst fa a) ~ a, Subst (Subst fa a) (Elem fa) ~ fa) bound by the RULE "map/map" at T5853.hs:15:2-57 - NB: ‛Subst’ is a type function, and may not be injective + NB: ‘Subst’ is a type function, and may not be injective Relevant bindings include f :: Elem fa -> b (bound at T5853.hs:15:19) g :: a -> Elem fa (bound at T5853.hs:15:21) diff --git a/testsuite/tests/typecheck/should_fail/T5858.stderr b/testsuite/tests/typecheck/should_fail/T5858.stderr index 893fd1a62b..9cd1deee69 100644 --- a/testsuite/tests/typecheck/should_fail/T5858.stderr +++ b/testsuite/tests/typecheck/should_fail/T5858.stderr @@ -1,10 +1,10 @@ T5858.hs:11:7: No instance for (InferOverloaded ([t0], [t1])) - arising from a use of ‛infer’ - The type variables ‛t0’, ‛t1’ are ambiguous + arising from a use of ‘infer’ + The type variables ‘t0’, ‘t1’ are ambiguous Note: there is a potential instance available: instance t1 ~ String => InferOverloaded (t1, t1) -- Defined at T5858.hs:8:10 In the expression: infer ([], []) - In an equation for ‛foo’: foo = infer ([], []) + In an equation for ‘foo’: foo = infer ([], []) diff --git a/testsuite/tests/typecheck/should_fail/T5957.stderr b/testsuite/tests/typecheck/should_fail/T5957.stderr index 3b4f5e80d5..1c457ad6fb 100644 --- a/testsuite/tests/typecheck/should_fail/T5957.stderr +++ b/testsuite/tests/typecheck/should_fail/T5957.stderr @@ -2,5 +2,5 @@ T5957.hs:3:9: Illegal polymorphic or qualified type: Show a => a -> String Perhaps you intended to use RankNTypes or Rank2Types - In the type signature for ‛flex’: + In the type signature for ‘flex’: flex :: Int -> Show a => a -> String diff --git a/testsuite/tests/typecheck/should_fail/T5978.stderr b/testsuite/tests/typecheck/should_fail/T5978.stderr index 0deac96834..db6b8f355e 100644 --- a/testsuite/tests/typecheck/should_fail/T5978.stderr +++ b/testsuite/tests/typecheck/should_fail/T5978.stderr @@ -1,5 +1,5 @@ T5978.hs:22:11:
- No instance for (C Double Char) arising from a use of ‛polyBar’
+ No instance for (C Double Char) arising from a use of ‘polyBar’
In the expression: polyBar id monoFoo
- In an equation for ‛monoBar’: monoBar = polyBar id monoFoo
+ In an equation for ‘monoBar’: monoBar = polyBar id monoFoo
diff --git a/testsuite/tests/typecheck/should_fail/T6001.stderr b/testsuite/tests/typecheck/should_fail/T6001.stderr index b1ef88d9fb..593b43f6d8 100644 --- a/testsuite/tests/typecheck/should_fail/T6001.stderr +++ b/testsuite/tests/typecheck/should_fail/T6001.stderr @@ -2,4 +2,4 @@ T6001.hs:8:18: Method signature does not match class; it should be fromInteger :: Integer -> DayKind - In the instance declaration for ‛Num DayKind’ + In the instance declaration for ‘Num DayKind’ diff --git a/testsuite/tests/typecheck/should_fail/T6069.stderr b/testsuite/tests/typecheck/should_fail/T6069.stderr index 4f82c0d896..81b1552cba 100644 --- a/testsuite/tests/typecheck/should_fail/T6069.stderr +++ b/testsuite/tests/typecheck/should_fail/T6069.stderr @@ -1,21 +1,21 @@ T6069.hs:13:15: - Couldn't match type ‛ST s0 Int’ with ‛forall s. ST s b0’ + Couldn't match type ‘ST s0 Int’ with ‘forall s. ST s b0’ Expected type: ST s0 Int -> b0 Actual type: (forall s. ST s b0) -> b0 - In the second argument of ‛(.)’, namely ‛runST’ + In the second argument of ‘(.)’, namely ‘runST’ In the expression: print . runST T6069.hs:14:15: - Couldn't match type ‛ST s1 Int’ with ‛forall s. ST s b1’ + Couldn't match type ‘ST s1 Int’ with ‘forall s. ST s b1’ Expected type: ST s1 Int -> b1 Actual type: (forall s. ST s b1) -> b1 - In the second argument of ‛(.)’, namely ‛runST’ + In the second argument of ‘(.)’, namely ‘runST’ In the expression: (print . runST) T6069.hs:15:16: - Couldn't match type ‛ST s2 Int’ with ‛forall s. ST s b2’ + Couldn't match type ‘ST s2 Int’ with ‘forall s. ST s b2’ Expected type: ST s2 Int -> b2 Actual type: (forall s. ST s b2) -> b2 - In the second argument of ‛(.)’, namely ‛runST’ - In the first argument of ‛($)’, namely ‛(print . runST)’ + In the second argument of ‘(.)’, namely ‘runST’ + In the first argument of ‘($)’, namely ‘(print . runST)’ diff --git a/testsuite/tests/typecheck/should_fail/T6078.stderr b/testsuite/tests/typecheck/should_fail/T6078.stderr index 32e3e056d3..467dede23f 100644 --- a/testsuite/tests/typecheck/should_fail/T6078.stderr +++ b/testsuite/tests/typecheck/should_fail/T6078.stderr @@ -7,5 +7,5 @@ T6078.hs:8:10: let ip1p@(Ptr ip1) = Ptr ip0 `plusPtr` len in ip1p In the expression: \ fpbuf ip0 ipe s0 -> let ip1p@(Ptr ip1) = ... in ip1p - In an equation for ‛byteStringSlice’: + In an equation for ‘byteStringSlice’: byteStringSlice len = \ fpbuf ip0 ipe s0 -> let ... in ip1p diff --git a/testsuite/tests/typecheck/should_fail/T6161.stderr b/testsuite/tests/typecheck/should_fail/T6161.stderr index afc3a946f8..0d10738509 100644 --- a/testsuite/tests/typecheck/should_fail/T6161.stderr +++ b/testsuite/tests/typecheck/should_fail/T6161.stderr @@ -1,5 +1,5 @@ T6161.hs:29:12: - No instance for (Super (Fam Float)) arising from a use of ‛testDup’ + No instance for (Super (Fam Float)) arising from a use of ‘testDup’ In the expression: testDup (FamFloat 3.0) - In an equation for ‛testProg’: testProg = testDup (FamFloat 3.0) + In an equation for ‘testProg’: testProg = testDup (FamFloat 3.0) diff --git a/testsuite/tests/typecheck/should_fail/T7019.stderr b/testsuite/tests/typecheck/should_fail/T7019.stderr index 935c3be522..23baa97469 100644 --- a/testsuite/tests/typecheck/should_fail/T7019.stderr +++ b/testsuite/tests/typecheck/should_fail/T7019.stderr @@ -1,6 +1,6 @@ T7019.hs:14:10: - Malformed predicate ‛C c’ + Malformed predicate ‘C c’ In the context: (C c) While checking an instance declaration - In the instance declaration for ‛Monad (Free c)’ + In the instance declaration for ‘Monad (Free c)’ diff --git a/testsuite/tests/typecheck/should_fail/T7019a.stderr b/testsuite/tests/typecheck/should_fail/T7019a.stderr index cd474af8a6..ee3cea11ce 100644 --- a/testsuite/tests/typecheck/should_fail/T7019a.stderr +++ b/testsuite/tests/typecheck/should_fail/T7019a.stderr @@ -1,6 +1,6 @@ T7019a.hs:11:1: - Malformed predicate ‛forall b. Context (Associated a b)’ + Malformed predicate ‘forall b. Context (Associated a b)’ In the context: (forall b. Context (Associated a b)) - While checking the super-classes of class ‛Class’ - In the class declaration for ‛Class’ + While checking the super-classes of class ‘Class’ + In the class declaration for ‘Class’ diff --git a/testsuite/tests/typecheck/should_fail/T7175.stderr b/testsuite/tests/typecheck/should_fail/T7175.stderr index e65918c22b..e6a5b1e5a3 100644 --- a/testsuite/tests/typecheck/should_fail/T7175.stderr +++ b/testsuite/tests/typecheck/should_fail/T7175.stderr @@ -1,6 +1,6 @@ T7175.hs:8:4: - Data constructor ‛G1C’ returns type ‛F Int’ - instead of an instance of its parent type ‛G1 a’ - In the definition of data constructor ‛G1C’ - In the data declaration for ‛G1’ + Data constructor ‘G1C’ returns type ‘F Int’ + instead of an instance of its parent type ‘G1 a’ + In the definition of data constructor ‘G1C’ + In the data declaration for ‘G1’ diff --git a/testsuite/tests/typecheck/should_fail/T7210.stderr b/testsuite/tests/typecheck/should_fail/T7210.stderr index 148f9bcd5e..a7ee2afc85 100644 --- a/testsuite/tests/typecheck/should_fail/T7210.stderr +++ b/testsuite/tests/typecheck/should_fail/T7210.stderr @@ -1,6 +1,6 @@ T7210.hs:5:19: Unexpected strictness annotation: !IntMap - In the type ‛!IntMap Int’ - In the definition of data constructor ‛C’ - In the data declaration for ‛T’ + In the type ‘!IntMap Int’ + In the definition of data constructor ‘C’ + In the data declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_fail/T7220.stderr b/testsuite/tests/typecheck/should_fail/T7220.stderr index 5dba6b5c28..86c4c5f1cb 100644 --- a/testsuite/tests/typecheck/should_fail/T7220.stderr +++ b/testsuite/tests/typecheck/should_fail/T7220.stderr @@ -1,9 +1,9 @@ T7220.hs:24:6: - Cannot instantiate unification variable ‛b0’ + Cannot instantiate unification variable ‘b0’ with a type involving foralls: forall b. (C A b, TF b ~ Y) => b Perhaps you want ImpredicativeTypes In the expression: f :: (forall b. (C A b, TF b ~ Y) => b) -> X In the expression: (f :: (forall b. (C A b, TF b ~ Y) => b) -> X) u - In an equation for ‛v’: + In an equation for ‘v’: v = (f :: (forall b. (C A b, TF b ~ Y) => b) -> X) u diff --git a/testsuite/tests/typecheck/should_fail/T7264.stderr b/testsuite/tests/typecheck/should_fail/T7264.stderr index 6314b56f97..b2696d41bb 100644 --- a/testsuite/tests/typecheck/should_fail/T7264.stderr +++ b/testsuite/tests/typecheck/should_fail/T7264.stderr @@ -1,12 +1,12 @@ T7264.hs:13:19: - Couldn't match type ‛a’ with ‛forall r. r -> String’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘forall r. r -> String’ + ‘a’ is a rigid type variable bound by the inferred type of mkFoo2 :: a -> Maybe Foo at T7264.hs:13:1 Expected type: a -> Foo Actual type: (forall r. r -> String) -> Foo Relevant bindings include val :: a (bound at T7264.hs:13:8) mkFoo2 :: a -> Maybe Foo (bound at T7264.hs:13:1) - In the first argument of ‛mmap’, namely ‛Foo’ + In the first argument of ‘mmap’, namely ‘Foo’ In the expression: mmap Foo (Just val) diff --git a/testsuite/tests/typecheck/should_fail/T7279.stderr b/testsuite/tests/typecheck/should_fail/T7279.stderr index d768d90c23..df0328ccdd 100644 --- a/testsuite/tests/typecheck/should_fail/T7279.stderr +++ b/testsuite/tests/typecheck/should_fail/T7279.stderr @@ -5,7 +5,7 @@ T7279.hs:6:10: from the context (Eq a, Show b) bound by an instance declaration: (Eq a, Show b) => Eq (T a) at T7279.hs:6:10-35 - The type variable ‛b0’ is ambiguous + The type variable ‘b0’ is ambiguous In the ambiguity check for: forall a b. (Eq a, Show b) => Eq (T a) To defer the ambiguity check to use sites, enable AllowAmbiguousTypes - In the instance declaration for ‛Eq (T a)’ + In the instance declaration for ‘Eq (T a)’ diff --git a/testsuite/tests/typecheck/should_fail/T7368.stderr b/testsuite/tests/typecheck/should_fail/T7368.stderr index b4e1042346..c2e6360018 100644 --- a/testsuite/tests/typecheck/should_fail/T7368.stderr +++ b/testsuite/tests/typecheck/should_fail/T7368.stderr @@ -5,5 +5,5 @@ T7368.hs:3:10: (->) a0 :: * -> * Expected type: a0 -> b0 Actual type: c0 Maybe - In the first argument of ‛b’, namely ‛(l Nothing)’ + In the first argument of ‘b’, namely ‘(l Nothing)’ In the expression: b (l Nothing) diff --git a/testsuite/tests/typecheck/should_fail/T7368a.stderr b/testsuite/tests/typecheck/should_fail/T7368a.stderr index 94d3688d32..1316d5a8d4 100644 --- a/testsuite/tests/typecheck/should_fail/T7368a.stderr +++ b/testsuite/tests/typecheck/should_fail/T7368a.stderr @@ -1,11 +1,11 @@ T7368a.hs:8:6:
- Couldn't match type ‛f’ with ‛Bad’
- ‛f’ is a rigid type variable bound by
+ Couldn't match type ‘f’ with ‘Bad’
+ ‘f’ is a rigid type variable bound by
the type signature for fun :: f (Bad f) -> Bool at T7368a.hs:7:15
Expected type: f (Bad f)
Actual type: Bad t0
Relevant bindings include
fun :: f (Bad f) -> Bool (bound at T7368a.hs:8:1)
In the pattern: Bad x
- In an equation for ‛fun’: fun (Bad x) = True
+ In an equation for ‘fun’: fun (Bad x) = True
diff --git a/testsuite/tests/typecheck/should_fail/T7410.stderr b/testsuite/tests/typecheck/should_fail/T7410.stderr index 877377e1b0..8126362633 100644 --- a/testsuite/tests/typecheck/should_fail/T7410.stderr +++ b/testsuite/tests/typecheck/should_fail/T7410.stderr @@ -1,6 +1,6 @@ T7410.hs:3:9: - Expecting one more argument to ‛Either Int’ - The first argument of a tuple should have kind ‛*’, - but ‛Either Int’ has kind ‛* -> *’ - In the type signature for ‛foo’: foo :: (Either Int, Int) + Expecting one more argument to ‘Either Int’ + The first argument of a tuple should have kind ‘*’, + but ‘Either Int’ has kind ‘* -> *’ + In the type signature for ‘foo’: foo :: (Either Int, Int) diff --git a/testsuite/tests/typecheck/should_fail/T7453.stderr b/testsuite/tests/typecheck/should_fail/T7453.stderr index 573d2ff7e1..c474460155 100644 --- a/testsuite/tests/typecheck/should_fail/T7453.stderr +++ b/testsuite/tests/typecheck/should_fail/T7453.stderr @@ -1,7 +1,7 @@ T7453.hs:10:30: - Couldn't match expected type ‛t1’ with actual type ‛t’ - because type variable ‛t1’ would escape its scope + Couldn't match expected type ‘t1’ with actual type ‘t’ + because type variable ‘t1’ would escape its scope This (rigid, skolem) type variable is bound by the type signature for z :: Id t1 at T7453.hs:8:16-19 @@ -10,12 +10,12 @@ T7453.hs:10:30: z :: Id t1 (bound at T7453.hs:9:11) v :: t (bound at T7453.hs:7:7) cast1 :: t -> a (bound at T7453.hs:7:1) - In the first argument of ‛Id’, namely ‛v’ + In the first argument of ‘Id’, namely ‘v’ In the expression: Id v T7453.hs:16:33: - Couldn't match expected type ‛t2’ with actual type ‛t’ - because type variable ‛t2’ would escape its scope + Couldn't match expected type ‘t2’ with actual type ‘t’ + because type variable ‘t2’ would escape its scope This (rigid, skolem) type variable is bound by the type signature for z :: () -> t2 at T7453.hs:14:16-22 @@ -24,12 +24,12 @@ T7453.hs:16:33: z :: () -> t2 (bound at T7453.hs:15:11) v :: t (bound at T7453.hs:13:7) cast2 :: t -> t1 (bound at T7453.hs:13:1) - In the first argument of ‛const’, namely ‛v’ + In the first argument of ‘const’, namely ‘v’ In the expression: const v T7453.hs:21:15: - Couldn't match expected type ‛t1’ with actual type ‛a’ - because type variable ‛t1’ would escape its scope + Couldn't match expected type ‘t1’ with actual type ‘a’ + because type variable ‘t1’ would escape its scope This (rigid, skolem) type variable is bound by the type signature for z :: t1 at T7453.hs:20:16 @@ -39,7 +39,7 @@ T7453.hs:21:15: v :: a (bound at T7453.hs:19:7) cast3 :: a -> t (bound at T7453.hs:19:1) In the expression: v - In an equation for ‛z’: + In an equation for ‘z’: z = v where aux = const v diff --git a/testsuite/tests/typecheck/should_fail/T7525.stderr b/testsuite/tests/typecheck/should_fail/T7525.stderr index 1e2c0eb235..9524d1a3e2 100644 --- a/testsuite/tests/typecheck/should_fail/T7525.stderr +++ b/testsuite/tests/typecheck/should_fail/T7525.stderr @@ -1,9 +1,9 @@ T7525.hs:5:30: Could not deduce (?b::Bool) - arising from a use of implicit parameter ‛?b’ + arising from a use of implicit parameter ‘?b’ from the context (?a::Bool) bound by the implicit-parameter bindings for ?a at T7525.hs:5:7-31 - In the second argument of ‛(&&)’, namely ‛?b’ + In the second argument of ‘(&&)’, namely ‘?b’ In the expression: ?a && ?b In the expression: let ?a = True in ?a && ?b diff --git a/testsuite/tests/typecheck/should_fail/T7545.stderr b/testsuite/tests/typecheck/should_fail/T7545.stderr index dc661dae73..a1f2853fc9 100644 --- a/testsuite/tests/typecheck/should_fail/T7545.stderr +++ b/testsuite/tests/typecheck/should_fail/T7545.stderr @@ -2,4 +2,4 @@ T7545.hs:8:9: Method signature does not match class; it should be f :: forall b1. (a -> b) -> b1 - In the instance declaration for ‛C (a -> b)’ + In the instance declaration for ‘C (a -> b)’ diff --git a/testsuite/tests/typecheck/should_fail/T7609.stderr b/testsuite/tests/typecheck/should_fail/T7609.stderr index 2027c3bb64..1b904bbec7 100644 --- a/testsuite/tests/typecheck/should_fail/T7609.stderr +++ b/testsuite/tests/typecheck/should_fail/T7609.stderr @@ -1,10 +1,10 @@ T7609.hs:7:16:
- Expecting one more argument to ‛Maybe’
- The second argument of a tuple should have kind ‛*’,
- but ‛Maybe’ has kind ‛* -> *’
- In the type signature for ‛f’: f :: (a `X` a, Maybe)
+ Expecting one more argument to ‘Maybe’
+ The second argument of a tuple should have kind ‘*’,
+ but ‘Maybe’ has kind ‘* -> *’
+ In the type signature for ‘f’: f :: (a `X` a, Maybe)
T7609.hs:10:7:
- Expected a constraint, but ‛a `X` a’ has kind ‛*’
- In the type signature for ‛g’: g :: a `X` a => Maybe
+ Expected a constraint, but ‘a `X` a’ has kind ‘*’
+ In the type signature for ‘g’: g :: a `X` a => Maybe
diff --git a/testsuite/tests/typecheck/should_fail/T7645.stderr b/testsuite/tests/typecheck/should_fail/T7645.stderr index ae00e21ca6..12d6c15e49 100644 --- a/testsuite/tests/typecheck/should_fail/T7645.stderr +++ b/testsuite/tests/typecheck/should_fail/T7645.stderr @@ -1,6 +1,6 @@ T7645.hs:6:23: - Expecting one more argument to ‛Maybe’ - The second argument of a tuple should have kind ‛*’, - but ‛Maybe’ has kind ‛* -> *’ - In the type signature for ‛f’: f :: ((+) a (a :: *), Maybe) + Expecting one more argument to ‘Maybe’ + The second argument of a tuple should have kind ‘*’, + but ‘Maybe’ has kind ‘* -> *’ + In the type signature for ‘f’: f :: ((+) a (a :: *), Maybe) diff --git a/testsuite/tests/typecheck/should_fail/T7696.stderr b/testsuite/tests/typecheck/should_fail/T7696.stderr index b166faa21b..65dfb79d2b 100644 --- a/testsuite/tests/typecheck/should_fail/T7696.stderr +++ b/testsuite/tests/typecheck/should_fail/T7696.stderr @@ -1,7 +1,7 @@ T7696.hs:7:6:
- Couldn't match type ‛m0 a0’ with ‛()’
+ Couldn't match type ‘m0 a0’ with ‘()’
Expected type: ((), w ())
Actual type: (m0 a0, t0 m0)
In the expression: f1
- In an equation for ‛f2’: f2 = f1
+ In an equation for ‘f2’: f2 = f1
diff --git a/testsuite/tests/typecheck/should_fail/T7697.stderr b/testsuite/tests/typecheck/should_fail/T7697.stderr index 759d4abf5c..477acc1d09 100644 --- a/testsuite/tests/typecheck/should_fail/T7697.stderr +++ b/testsuite/tests/typecheck/should_fail/T7697.stderr @@ -1,4 +1,4 @@ T7697.hs:3:6: - Expected a constraint, but ‛Int’ has kind ‛*’ - In the type signature for ‛f’: f :: Int => Int + Expected a constraint, but ‘Int’ has kind ‘*’ + In the type signature for ‘f’: f :: Int => Int diff --git a/testsuite/tests/typecheck/should_fail/T7734.stderr b/testsuite/tests/typecheck/should_fail/T7734.stderr index fc3348abb7..3f59340441 100644 --- a/testsuite/tests/typecheck/should_fail/T7734.stderr +++ b/testsuite/tests/typecheck/should_fail/T7734.stderr @@ -4,7 +4,7 @@ T7734.hs:4:13: Relevant bindings include x :: t2 -> t1 (bound at T7734.hs:4:1) f :: (t2 -> t1) -> t -> t1 (bound at T7734.hs:4:1) - In the first argument of ‛x’, namely ‛x’ + In the first argument of ‘x’, namely ‘x’ In the expression: x x T7734.hs:5:13: @@ -12,5 +12,5 @@ T7734.hs:5:13: Relevant bindings include x :: t2 -> t1 (bound at T7734.hs:5:5) (&) :: (t2 -> t1) -> t -> t1 (bound at T7734.hs:5:1) - In the first argument of ‛x’, namely ‛x’ + In the first argument of ‘x’, namely ‘x’ In the expression: x x diff --git a/testsuite/tests/typecheck/should_fail/T7748a.stderr b/testsuite/tests/typecheck/should_fail/T7748a.stderr index 0e039e7237..de451eb52f 100644 --- a/testsuite/tests/typecheck/should_fail/T7748a.stderr +++ b/testsuite/tests/typecheck/should_fail/T7748a.stderr @@ -1,7 +1,7 @@ T7748a.hs:14:24: - Couldn't match expected type ‛a’ with actual type ‛Maybe t0’ - ‛a’ is a rigid type variable bound by + Couldn't match expected type ‘a’ with actual type ‘Maybe t0’ + ‘a’ is a rigid type variable bound by the type signature for test :: a -> r -> () at T7748a.hs:11:9 Relevant bindings include zd :: a (bound at T7748a.hs:12:6) diff --git a/testsuite/tests/typecheck/should_fail/T7778.stderr b/testsuite/tests/typecheck/should_fail/T7778.stderr index 89196dfb0c..714e2a6e27 100644 --- a/testsuite/tests/typecheck/should_fail/T7778.stderr +++ b/testsuite/tests/typecheck/should_fail/T7778.stderr @@ -1,5 +1,5 @@ T7778.hs:3:19: - Expecting one more argument to ‛Num’ - Expected a type, but ‛Num’ has kind ‛* -> Constraint’ - In the type signature for ‛v’: v :: (Num Int => Num) () => () + Expecting one more argument to ‘Num’ + Expected a type, but ‘Num’ has kind ‘* -> Constraint’ + In the type signature for ‘v’: v :: (Num Int => Num) () => () diff --git a/testsuite/tests/typecheck/should_fail/T7809.stderr b/testsuite/tests/typecheck/should_fail/T7809.stderr index ebfb3f5804..e306f8dcd3 100644 --- a/testsuite/tests/typecheck/should_fail/T7809.stderr +++ b/testsuite/tests/typecheck/should_fail/T7809.stderr @@ -2,4 +2,4 @@ T7809.hs:8:8: Illegal polymorphic or qualified type: PolyId Perhaps you intended to use ImpredicativeTypes - In the type signature for ‛foo’: foo :: F PolyId + In the type signature for ‘foo’: foo :: F PolyId diff --git a/testsuite/tests/typecheck/should_fail/T7851.stderr b/testsuite/tests/typecheck/should_fail/T7851.stderr index ba5fc7ce45..64148511e7 100644 --- a/testsuite/tests/typecheck/should_fail/T7851.stderr +++ b/testsuite/tests/typecheck/should_fail/T7851.stderr @@ -1,7 +1,7 @@ T7851.hs:5:10: - Couldn't match expected type ‛IO a0’ with actual type ‛a1 -> IO ()’ - Probable cause: ‛print’ is applied to too few arguments + Couldn't match expected type ‘IO a0’ with actual type ‘a1 -> IO ()’ + Probable cause: ‘print’ is applied to too few arguments In a stmt of a 'do' block: print In the expression: do { print; diff --git a/testsuite/tests/typecheck/should_fail/T7856.stderr b/testsuite/tests/typecheck/should_fail/T7856.stderr index 566018894f..e6fe2bd42f 100644 --- a/testsuite/tests/typecheck/should_fail/T7856.stderr +++ b/testsuite/tests/typecheck/should_fail/T7856.stderr @@ -1,10 +1,10 @@ T7856.hs:4:7: - Couldn't match expected type ‛String -> IO ()’ - with actual type ‛IO ()’ - Possible cause: ‛sequence_’ is applied to too many arguments + Couldn't match expected type ‘String -> IO ()’ + with actual type ‘IO ()’ + Possible cause: ‘sequence_’ is applied to too many arguments In the expression: sequence_ lst - In an equation for ‛tmp’: + In an equation for ‘tmp’: tmp = sequence_ lst where diff --git a/testsuite/tests/typecheck/should_fail/T7857.stderr b/testsuite/tests/typecheck/should_fail/T7857.stderr index 0457093fea..3519b3fa8d 100644 --- a/testsuite/tests/typecheck/should_fail/T7857.stderr +++ b/testsuite/tests/typecheck/should_fail/T7857.stderr @@ -1,17 +1,17 @@ T7857.hs:8:11: - Could not deduce (PrintfType s0) arising from a use of ‛printf’ + Could not deduce (PrintfType s0) arising from a use of ‘printf’ from the context (PrintfArg t) bound by the inferred type of g :: PrintfArg t => t -> b at T7857.hs:8:1-21 - The type variable ‛s0’ is ambiguous + The type variable ‘s0’ is ambiguous Note: there are several potential instances: instance [safe] (PrintfArg a, PrintfType r) => PrintfType (a -> r) - -- Defined in ‛Text.Printf’ + -- Defined in ‘Text.Printf’ instance [safe] a ~ () => PrintfType (IO a) - -- Defined in ‛Text.Printf’ + -- Defined in ‘Text.Printf’ instance [safe] IsChar c => PrintfType [c] - -- Defined in ‛Text.Printf’ - In the second argument of ‛($)’, namely ‛printf "" i’ + -- Defined in ‘Text.Printf’ + In the second argument of ‘($)’, namely ‘printf "" i’ In the expression: f $ printf "" i - In an equation for ‛g’: g i = f $ printf "" i + In an equation for ‘g’: g i = f $ printf "" i diff --git a/testsuite/tests/typecheck/should_fail/T7869.stderr b/testsuite/tests/typecheck/should_fail/T7869.stderr index 1324b06ae5..dd3aabc464 100644 --- a/testsuite/tests/typecheck/should_fail/T7869.stderr +++ b/testsuite/tests/typecheck/should_fail/T7869.stderr @@ -1,7 +1,7 @@ T7869.hs:3:12: - Couldn't match type ‛a’ with ‛a1’ - because type variable ‛a1’ would escape its scope + Couldn't match type ‘a’ with ‘a1’ + because type variable ‘a1’ would escape its scope This (rigid, skolem) type variable is bound by an expression type signature: [a1] -> b1 at T7869.hs:3:5-27 @@ -12,11 +12,11 @@ T7869.hs:3:12: f :: [a] -> b (bound at T7869.hs:3:1) In the expression: f x In the expression: (\ x -> f x) :: [a] -> b - In an equation for ‛f’: f = (\ x -> f x) :: [a] -> b + In an equation for ‘f’: f = (\ x -> f x) :: [a] -> b T7869.hs:3:12: - Couldn't match type ‛b’ with ‛b1’ - because type variable ‛b1’ would escape its scope + Couldn't match type ‘b’ with ‘b1’ + because type variable ‘b1’ would escape its scope This (rigid, skolem) type variable is bound by an expression type signature: [a1] -> b1 at T7869.hs:3:5-27 @@ -25,4 +25,4 @@ T7869.hs:3:12: Relevant bindings include f :: [a] -> b (bound at T7869.hs:3:1) In the expression: f x In the expression: (\ x -> f x) :: [a] -> b - In an equation for ‛f’: f = (\ x -> f x) :: [a] -> b + In an equation for ‘f’: f = (\ x -> f x) :: [a] -> b diff --git a/testsuite/tests/typecheck/should_fail/T7892.stderr b/testsuite/tests/typecheck/should_fail/T7892.stderr index eec7bd73dc..559ac67270 100644 --- a/testsuite/tests/typecheck/should_fail/T7892.stderr +++ b/testsuite/tests/typecheck/should_fail/T7892.stderr @@ -1,2 +1,2 @@ -T7892.hs:5:4: Couldn't match kind ‛*’ against ‛* -> *’ +T7892.hs:5:4: Couldn't match kind ‘*’ against ‘* -> *’ diff --git a/testsuite/tests/typecheck/should_fail/T7989.stderr b/testsuite/tests/typecheck/should_fail/T7989.stderr index 3ba815e5f4..8b02d0df31 100644 --- a/testsuite/tests/typecheck/should_fail/T7989.stderr +++ b/testsuite/tests/typecheck/should_fail/T7989.stderr @@ -1,15 +1,15 @@ T7989.hs:6:7: - No constructor has all these fields: ‛a0’, ‛b0’ + No constructor has all these fields: ‘a0’, ‘b0’ In the expression: x {a0 = 3, a1 = 2, b0 = 4, b1 = 5} - In an equation for ‛f’: f x = x {a0 = 3, a1 = 2, b0 = 4, b1 = 5} + In an equation for ‘f’: f x = x {a0 = 3, a1 = 2, b0 = 4, b1 = 5} T7989.hs:9:7: - No constructor has all these fields: ‛x’, ‛y’, ‛z’ + No constructor has all these fields: ‘x’, ‘y’, ‘z’ In the expression: a {x = 0, y = 0, z = 0, v = 0} - In an equation for ‛g’: g a = a {x = 0, y = 0, z = 0, v = 0} + In an equation for ‘g’: g a = a {x = 0, y = 0, z = 0, v = 0} T7989.hs:11:7: - No constructor has all these fields: ‛x’, ‛a0’ + No constructor has all these fields: ‘x’, ‘a0’ In the expression: a {x = 0, a0 = 0} - In an equation for ‛h’: h a = a {x = 0, a0 = 0} + In an equation for ‘h’: h a = a {x = 0, a0 = 0} diff --git a/testsuite/tests/typecheck/should_fail/T8142.stderr b/testsuite/tests/typecheck/should_fail/T8142.stderr index c1c32fe566..5940df4384 100644 --- a/testsuite/tests/typecheck/should_fail/T8142.stderr +++ b/testsuite/tests/typecheck/should_fail/T8142.stderr @@ -1,14 +1,14 @@ T8142.hs:6:18: - Couldn't match type ‛Nu ((,) t0)’ with ‛Nu ((,) t)’ - NB: ‛Nu’ is a type function, and may not be injective - The type variable ‛t0’ is ambiguous + Couldn't match type ‘Nu ((,) t0)’ with ‘Nu ((,) t)’ + NB: ‘Nu’ is a type function, and may not be injective + The type variable ‘t0’ is ambiguous Expected type: Nu ((,) t) -> Nu f Actual type: Nu ((,) t0) -> Nu f0 - When checking that ‛h’ - has the inferred type ‛forall t (f :: * -> *). Nu ((,) t) -> Nu f’ + When checking that ‘h’ + has the inferred type ‘forall t (f :: * -> *). Nu ((,) t) -> Nu f’ Probable cause: the inferred type is ambiguous - In an equation for ‛tracer’: + In an equation for ‘tracer’: tracer = h where @@ -24,5 +24,5 @@ T8142.hs:6:57: Actual type: Nu ((,) t) -> (t, Nu ((,) t)) Relevant bindings include h :: Nu ((,) t) -> Nu f1 (bound at T8142.hs:6:18) - In the second argument of ‛(.)’, namely ‛out’ + In the second argument of ‘(.)’, namely ‘out’ In the expression: (\ (_, b) -> ((outI . fmap h) b)) . out diff --git a/testsuite/tests/typecheck/should_fail/T8262.stderr b/testsuite/tests/typecheck/should_fail/T8262.stderr index db908de694..44c2fb861a 100644 --- a/testsuite/tests/typecheck/should_fail/T8262.stderr +++ b/testsuite/tests/typecheck/should_fail/T8262.stderr @@ -5,6 +5,6 @@ T8262.hs:5:15: GHC.Prim.Int# :: # Relevant bindings include foo :: t -> Maybe a (bound at T8262.hs:5:1) - In the first argument of ‛Just’, namely ‛(1#)’ + In the first argument of ‘Just’, namely ‘(1#)’ In the expression: Just (1#) - In an equation for ‛foo’: foo x = Just (1#) + In an equation for ‘foo’: foo x = Just (1#) diff --git a/testsuite/tests/typecheck/should_fail/T8392a.stderr b/testsuite/tests/typecheck/should_fail/T8392a.stderr index 6e102227cf..ae7fc2ca6a 100644 --- a/testsuite/tests/typecheck/should_fail/T8392a.stderr +++ b/testsuite/tests/typecheck/should_fail/T8392a.stderr @@ -1,7 +1,7 @@ T8392a.hs:6:8: - Couldn't match type ‛Int’ with ‛Bool’ + Couldn't match type ‘Int’ with ‘Bool’ Inaccessible code in the type signature for foo :: Int ~ Bool => a -> a In the ambiguity check for: forall a. Int ~ Bool => a -> a - In the type signature for ‛foo’: foo :: Int ~ Bool => a -> a + In the type signature for ‘foo’: foo :: Int ~ Bool => a -> a diff --git a/testsuite/tests/typecheck/should_fail/T8428.stderr b/testsuite/tests/typecheck/should_fail/T8428.stderr index 235135192e..49c20a5b8f 100644 --- a/testsuite/tests/typecheck/should_fail/T8428.stderr +++ b/testsuite/tests/typecheck/should_fail/T8428.stderr @@ -1,10 +1,10 @@ T8428.hs:11:19: - Couldn't match type ‛(forall s. ST s) a’ with ‛forall s. ST s a’ + Couldn't match type ‘(forall s. ST s) a’ with ‘forall s. ST s a’ Expected type: IdentityT (forall s. ST s) a -> forall s. ST s a Actual type: IdentityT (forall s. ST s) a -> (forall s. ST s) a Relevant bindings include runIdST :: IdentityT (forall s. ST s) a -> a (bound at T8428.hs:11:1) - In the second argument of ‛(.)’, namely ‛runIdentityT’ + In the second argument of ‘(.)’, namely ‘runIdentityT’ In the expression: runST . runIdentityT diff --git a/testsuite/tests/typecheck/should_fail/T8450.stderr b/testsuite/tests/typecheck/should_fail/T8450.stderr index 3688005dbb..ef3c62e7b6 100644 --- a/testsuite/tests/typecheck/should_fail/T8450.stderr +++ b/testsuite/tests/typecheck/should_fail/T8450.stderr @@ -1,13 +1,13 @@ T8450.hs:8:20: - Couldn't match type ‛a’ with ‛Bool’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘Bool’ + ‘a’ is a rigid type variable bound by the type signature for run :: a at T8450.hs:7:15 Expected type: Either Bool () Actual type: Either a () Relevant bindings include run :: a (bound at T8450.hs:8:1) - In the second argument of ‛($)’, namely - ‛(undefined :: Either a ())’ + In the second argument of ‘($)’, namely + ‘(undefined :: Either a ())’ In the expression: runEffect $ (undefined :: Either a ()) - In an equation for ‛run’: + In an equation for ‘run’: run = runEffect $ (undefined :: Either a ()) diff --git a/testsuite/tests/typecheck/should_fail/T8514.stderr b/testsuite/tests/typecheck/should_fail/T8514.stderr index 254dacd8ed..41aeb3b52e 100644 --- a/testsuite/tests/typecheck/should_fail/T8514.stderr +++ b/testsuite/tests/typecheck/should_fail/T8514.stderr @@ -1,7 +1,7 @@ T8514.hs:3:16: - Expecting one more argument to ‛Maybe’ - The second argument of a tuple should have kind ‛*’, - but ‛Maybe’ has kind ‛* -> *’ - In the type ‛(a, Maybe)’ - In the type declaration for ‛T’ + Expecting one more argument to ‘Maybe’ + The second argument of a tuple should have kind ‘*’, + but ‘Maybe’ has kind ‘* -> *’ + In the type ‘(a, Maybe)’ + In the type declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_fail/T8570.stderr b/testsuite/tests/typecheck/should_fail/T8570.stderr index 18653eac38..75d736cf1d 100644 --- a/testsuite/tests/typecheck/should_fail/T8570.stderr +++ b/testsuite/tests/typecheck/should_fail/T8570.stderr @@ -1,6 +1,6 @@ T8570.hs:6:18: - Constructor ‛Image’ does not have field ‛filepath’ + Constructor ‘Image’ does not have field ‘filepath’ In the pattern: Image {filepath = x} In a pattern binding: Image {filepath = x} = logo In the expression: let Image {filepath = x} = logo in x diff --git a/testsuite/tests/typecheck/should_fail/T8603.stderr b/testsuite/tests/typecheck/should_fail/T8603.stderr index 1777dc9535..cf12725281 100644 --- a/testsuite/tests/typecheck/should_fail/T8603.stderr +++ b/testsuite/tests/typecheck/should_fail/T8603.stderr @@ -1,10 +1,10 @@ T8603.hs:29:17:
- Couldn't match type ‛(->) [a0]’ with ‛[t1]’
+ Couldn't match type ‘(->) [a0]’ with ‘[t1]’
Expected type: [t1] -> StateT s RV t0
Actual type: t2 ((->) [a0]) (StateT s RV t0)
- The function ‛lift’ is applied to two arguments,
- but its type ‛([a0] -> StateT s RV t0)
+ The function ‘lift’ is applied to two arguments,
+ but its type ‘([a0] -> StateT s RV t0)
-> t2 ((->) [a0]) (StateT s RV t0)’
has only one
In a stmt of a 'do' block: prize <- lift uniform [1, 2, 3]
@@ -13,10 +13,10 @@ T8603.hs:29:17: return False }
T8603.hs:29:22:
- Couldn't match type ‛StateT s RV t0’ with ‛RV a0’
+ Couldn't match type ‘StateT s RV t0’ with ‘RV a0’
Expected type: [a0] -> StateT s RV t0
Actual type: [a0] -> RV a0
Relevant bindings include
testRVState1 :: RVState s Bool (bound at T8603.hs:28:1)
- In the first argument of ‛lift’, namely ‛uniform’
+ In the first argument of ‘lift’, namely ‘uniform’
In a stmt of a 'do' block: prize <- lift uniform [1, 2, 3]
diff --git a/testsuite/tests/typecheck/should_fail/T8806.stderr b/testsuite/tests/typecheck/should_fail/T8806.stderr index cc1caa8967..0a5a3d731f 100644 --- a/testsuite/tests/typecheck/should_fail/T8806.stderr +++ b/testsuite/tests/typecheck/should_fail/T8806.stderr @@ -1,8 +1,8 @@ T8806.hs:5:6: - Expected a constraint, but ‛Int’ has kind ‛*’ - In the type signature for ‛f’: f :: Int => Int + Expected a constraint, but ‘Int’ has kind ‘*’ + In the type signature for ‘f’: f :: Int => Int T8806.hs:8:7: - Expected a constraint, but ‛Int’ has kind ‛*’ - In the type signature for ‛g’: g :: Int => Show a => Int + Expected a constraint, but ‘Int’ has kind ‘*’ + In the type signature for ‘g’: g :: Int => Show a => Int diff --git a/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr b/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr index d6fd5eb0da..2851bcd934 100644 --- a/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr +++ b/testsuite/tests/typecheck/should_fail/TcCoercibleFail.stderr @@ -1,59 +1,59 @@ TcCoercibleFail.hs:11:8: - Could not coerce from ‛Int’ to ‛()’ - because ‛Int’ and ‛()’ are different types. - arising from a use of ‛coerce’ + Could not coerce from ‘Int’ to ‘()’ + because ‘Int’ and ‘()’ are different types. + arising from a use of ‘coerce’ In the expression: coerce In the expression: coerce $ one :: () - In an equation for ‛foo1’: foo1 = coerce $ one :: () + In an equation for ‘foo1’: foo1 = coerce $ one :: () TcCoercibleFail.hs:14:8: - Could not coerce from ‛m Int’ to ‛m Age’ - because ‛m Int’ and ‛m Age’ are different types. - arising from a use of ‛coerce’ + Could not coerce from ‘m Int’ to ‘m Age’ + because ‘m Int’ and ‘m Age’ are different types. + arising from a use of ‘coerce’ from the context (Monad m) bound by the type signature for foo2 :: Monad m => m Age at TcCoercibleFail.hs:13:9-34 In the expression: coerce In the expression: coerce $ (return one :: m Int) - In an equation for ‛foo2’: foo2 = coerce $ (return one :: m Int) + In an equation for ‘foo2’: foo2 = coerce $ (return one :: m Int) TcCoercibleFail.hs:16:8: - Could not coerce from ‛Map Int ()’ to ‛Map Age ()’ - because the first type argument of ‛Map’ has role Nominal, - but the arguments ‛Int’ and ‛Age’ differ - arising from a use of ‛coerce’ + Could not coerce from ‘Map Int ()’ to ‘Map Age ()’ + because the first type argument of ‘Map’ has role Nominal, + but the arguments ‘Int’ and ‘Age’ differ + arising from a use of ‘coerce’ In the expression: coerce In the expression: coerce $ Map one () :: Map Age () - In an equation for ‛foo3’: foo3 = coerce $ Map one () :: Map Age () + In an equation for ‘foo3’: foo3 = coerce $ Map one () :: Map Age () TcCoercibleFail.hs:18:8: - Could not coerce from ‛Int’ to ‛Down Int’ - because the constructor of ‛Down’ is not imported - arising from a use of ‛coerce’ + Could not coerce from ‘Int’ to ‘Down Int’ + because the constructor of ‘Down’ is not imported + arising from a use of ‘coerce’ In the expression: coerce In the expression: coerce $ one :: Down Int - In an equation for ‛foo4’: foo4 = coerce $ one :: Down Int + In an equation for ‘foo4’: foo4 = coerce $ one :: Down Int TcCoercibleFail.hs:21:8: Context reduction stack overflow; size = 21 Use -fcontext-stack=N to increase stack size to N Coercible Void () In the expression: coerce :: Void -> () - In an equation for ‛foo5’: foo5 = coerce :: Void -> () + In an equation for ‘foo5’: foo5 = coerce :: Void -> () TcCoercibleFail.hs:30:8: Context reduction stack overflow; size = 21 Use -fcontext-stack=N to increase stack size to N Coercible Int Age In the expression: coerce :: Fix (Either Int) -> Fix (Either Age) - In an equation for ‛foo6’: + In an equation for ‘foo6’: foo6 = coerce :: Fix (Either Int) -> Fix (Either Age) TcCoercibleFail.hs:31:8: - Could not coerce from ‛Either Int (Fix (Either Int))’ to ‛()’ - because ‛Either - Int (Fix (Either Int))’ and ‛()’ are different types. - arising from a use of ‛coerce’ + Could not coerce from ‘Either Int (Fix (Either Int))’ to ‘()’ + because ‘Either + Int (Fix (Either Int))’ and ‘()’ are different types. + arising from a use of ‘coerce’ In the expression: coerce :: Fix (Either Int) -> () - In an equation for ‛foo7’: foo7 = coerce :: Fix (Either Int) -> () + In an equation for ‘foo7’: foo7 = coerce :: Fix (Either Int) -> () diff --git a/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr b/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr index f180a9a212..29c268d22f 100644 --- a/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr +++ b/testsuite/tests/typecheck/should_fail/TcCoercibleFail2.stderr @@ -1,5 +1,5 @@ TcCoercibleFail2.hs:3:10: - Illegal instance declaration for ‛Coercible () ()’ + Illegal instance declaration for ‘Coercible () ()’ The class is abstract, manual instances are not permitted. - In the instance declaration for ‛Coercible () ()’ + In the instance declaration for ‘Coercible () ()’ diff --git a/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr b/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr index 54cd96ff6a..619e81fdfb 100644 --- a/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr +++ b/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr @@ -1,7 +1,7 @@ TcCoercibleFail3.hs:12:7: - Could not coerce from ‛NT1’ to ‛NT2’ - because ‛NT1’ and ‛NT2’ are different types. - arising from a use of ‛coerce’ + Could not coerce from ‘NT1’ to ‘NT2’ + because ‘NT1’ and ‘NT2’ are different types. + arising from a use of ‘coerce’ In the expression: coerce - In an equation for ‛foo’: foo = coerce + In an equation for ‘foo’: foo = coerce diff --git a/testsuite/tests/typecheck/should_fail/TcCoercibleFailSafe.stderr b/testsuite/tests/typecheck/should_fail/TcCoercibleFailSafe.stderr index 90643dfbe4..2d7bf19de9 100644 --- a/testsuite/tests/typecheck/should_fail/TcCoercibleFailSafe.stderr +++ b/testsuite/tests/typecheck/should_fail/TcCoercibleFailSafe.stderr @@ -1,8 +1,8 @@ TcCoercibleFailSafe.hs:9:8: - Could not coerce from ‛Down Age’ to ‛Down Int’ - because the constructor of ‛Down’ is not imported + Could not coerce from ‘Down Age’ to ‘Down Int’ + because the constructor of ‘Down’ is not imported as required in SafeHaskell mode - arising from a use of ‛coerce’ + arising from a use of ‘coerce’ In the expression: coerce - In an equation for ‛foo1’: foo1 = coerce + In an equation for ‘foo1’: foo1 = coerce diff --git a/testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr b/testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr index 5655af9da6..70ac94f060 100644 --- a/testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr +++ b/testsuite/tests/typecheck/should_fail/TcMultiWayIfFail.stderr @@ -1,16 +1,16 @@ TcMultiWayIfFail.hs:6:24: - Couldn't match expected type ‛Int’ with actual type ‛[Char]’ + Couldn't match expected type ‘Int’ with actual type ‘[Char]’ In the expression: "2" In the expression: if | True -> 1 :: Int | False -> "2" | otherwise -> [3 :: Int] - In an equation for ‛x1’: + In an equation for ‘x1’: x1 = if | True -> 1 :: Int | False -> "2" | otherwise -> [3 :: Int] TcMultiWayIfFail.hs:7:24: - Couldn't match expected type ‛Int’ with actual type ‛[Int]’ + Couldn't match expected type ‘Int’ with actual type ‘[Int]’ In the expression: [3 :: Int] In the expression: if | True -> 1 :: Int | False -> "2" | otherwise -> [3 :: Int] - In an equation for ‛x1’: + In an equation for ‘x1’: x1 = if | True -> 1 :: Int | False -> "2" | otherwise -> [3 :: Int] diff --git a/testsuite/tests/typecheck/should_fail/TcNoNullaryTC.stderr b/testsuite/tests/typecheck/should_fail/TcNoNullaryTC.stderr index 90ef78718a..9e8175d99f 100644 --- a/testsuite/tests/typecheck/should_fail/TcNoNullaryTC.stderr +++ b/testsuite/tests/typecheck/should_fail/TcNoNullaryTC.stderr @@ -1,5 +1,5 @@ TcNoNullaryTC.hs:3:1: - No parameters for class ‛A’ + No parameters for class ‘A’ (Use NullaryTypeClasses to allow no-parameter classes) - In the class declaration for ‛A’ + In the class declaration for ‘A’ diff --git a/testsuite/tests/typecheck/should_fail/fd-loop.stderr b/testsuite/tests/typecheck/should_fail/fd-loop.stderr index f26bda816d..96fbc3ef18 100644 --- a/testsuite/tests/typecheck/should_fail/fd-loop.stderr +++ b/testsuite/tests/typecheck/should_fail/fd-loop.stderr @@ -1,12 +1,12 @@ fd-loop.hs:12:10: - Variable ‛b’ occurs more often than in the instance head + Variable ‘b’ occurs more often than in the instance head in the constraint: C a b (Use UndecidableInstances to permit this) - In the instance declaration for ‛Eq (T a)’ + In the instance declaration for ‘Eq (T a)’ fd-loop.hs:12:10: - Variable ‛b’ occurs more often than in the instance head + Variable ‘b’ occurs more often than in the instance head in the constraint: Eq b (Use UndecidableInstances to permit this) - In the instance declaration for ‛Eq (T a)’ + In the instance declaration for ‘Eq (T a)’ diff --git a/testsuite/tests/typecheck/should_fail/mc19.stderr b/testsuite/tests/typecheck/should_fail/mc19.stderr index a5e9bc5e7f..d7181ad8a7 100644 --- a/testsuite/tests/typecheck/should_fail/mc19.stderr +++ b/testsuite/tests/typecheck/should_fail/mc19.stderr @@ -1,7 +1,7 @@ mc19.hs:10:31: - Couldn't match type ‛a’ with ‛[a]’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘[a]’ + ‘a’ is a rigid type variable bound by a type expected by the context: [a] -> [a] at mc19.hs:10:26 Expected type: [a] -> [a] Actual type: [a] -> [[a]] diff --git a/testsuite/tests/typecheck/should_fail/mc20.stderr b/testsuite/tests/typecheck/should_fail/mc20.stderr index 86be7f4a1a..798160fbf7 100644 --- a/testsuite/tests/typecheck/should_fail/mc20.stderr +++ b/testsuite/tests/typecheck/should_fail/mc20.stderr @@ -1,6 +1,6 @@ mc20.hs:14:31: - No instance for (Ord Unorderable) arising from a use of ‛groupWith’ + No instance for (Ord Unorderable) arising from a use of ‘groupWith’ In the expression: groupWith In a stmt of a monad comprehension: then group by x using groupWith In the expression: diff --git a/testsuite/tests/typecheck/should_fail/mc21.stderr b/testsuite/tests/typecheck/should_fail/mc21.stderr index 853f982979..337c84369b 100644 --- a/testsuite/tests/typecheck/should_fail/mc21.stderr +++ b/testsuite/tests/typecheck/should_fail/mc21.stderr @@ -1,7 +1,7 @@ mc21.hs:12:26: - Couldn't match type ‛a’ with ‛[a]’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘[a]’ + ‘a’ is a rigid type variable bound by a type expected by the context: [a] -> [[a]] at mc21.hs:12:9 Expected type: [a] -> [[a]] Actual type: [a] -> [a] diff --git a/testsuite/tests/typecheck/should_fail/mc22.stderr b/testsuite/tests/typecheck/should_fail/mc22.stderr index 23b53d7e07..f3da3c5eeb 100644 --- a/testsuite/tests/typecheck/should_fail/mc22.stderr +++ b/testsuite/tests/typecheck/should_fail/mc22.stderr @@ -1,6 +1,6 @@ mc22.hs:10:9: - No instance for (Functor t) arising from a use of ‛fmap’ + No instance for (Functor t) arising from a use of ‘fmap’ Possible fix: add (Functor t) to the context of a type expected by the context: (a -> b) -> t a -> t b @@ -11,8 +11,8 @@ mc22.hs:10:9: [x + 1 | x <- ["Hello", "World"], then group using take 5] mc22.hs:10:26: - Couldn't match type ‛a’ with ‛t a’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘t a’ + ‘a’ is a rigid type variable bound by a type expected by the context: [a] -> [t a] at mc22.hs:10:9 Expected type: [a] -> [t a] Actual type: [a] -> [a] diff --git a/testsuite/tests/typecheck/should_fail/mc23.stderr b/testsuite/tests/typecheck/should_fail/mc23.stderr index 4bd18c10c7..cdb10800e4 100644 --- a/testsuite/tests/typecheck/should_fail/mc23.stderr +++ b/testsuite/tests/typecheck/should_fail/mc23.stderr @@ -1,9 +1,9 @@ mc23.hs:9:29: - Couldn't match type ‛[a0]’ with ‛a -> b’ + Couldn't match type ‘[a0]’ with ‘a -> b’ Expected type: (a -> b) -> [a] -> t a Actual type: [a0] -> [a0] Relevant bindings include z :: t b (bound at mc23.hs:9:1) - Possible cause: ‛take’ is applied to too many arguments + Possible cause: ‘take’ is applied to too many arguments In the expression: take 5 In a stmt of a monad comprehension: then take 5 by x diff --git a/testsuite/tests/typecheck/should_fail/mc24.stderr b/testsuite/tests/typecheck/should_fail/mc24.stderr index 2e0515b282..0ddc66d97a 100644 --- a/testsuite/tests/typecheck/should_fail/mc24.stderr +++ b/testsuite/tests/typecheck/should_fail/mc24.stderr @@ -1,8 +1,8 @@ mc24.hs:10:31: - Couldn't match type ‛[a0]’ with ‛a -> a1’ + Couldn't match type ‘[a0]’ with ‘a -> a1’ Expected type: (a -> a1) -> [a] -> t [a] Actual type: [a0] -> [a0] - Possible cause: ‛take’ is applied to too many arguments + Possible cause: ‘take’ is applied to too many arguments In the expression: take 2 In a stmt of a monad comprehension: then group by x using take 2 diff --git a/testsuite/tests/typecheck/should_fail/mc25.stderr b/testsuite/tests/typecheck/should_fail/mc25.stderr index 042de5b620..6af388febe 100644 --- a/testsuite/tests/typecheck/should_fail/mc25.stderr +++ b/testsuite/tests/typecheck/should_fail/mc25.stderr @@ -1,6 +1,6 @@ mc25.hs:9:24: - No instance for (Functor t1) arising from a use of ‛fmap’ + No instance for (Functor t1) arising from a use of ‘fmap’ Possible fix: add (Functor t1) to the context of a type expected by the context: (a -> b) -> t1 a -> t1 b @@ -10,7 +10,7 @@ mc25.hs:9:24: In the expression: [x | x <- [1 .. 10], then group by x using take] mc25.hs:9:46: - Couldn't match type ‛Int’ with ‛a -> t’ + Couldn't match type ‘Int’ with ‘a -> t’ Expected type: (a -> t) -> [a] -> [t1 a] Actual type: Int -> [a] -> [a] Relevant bindings include z :: [t1 t] (bound at mc25.hs:9:1) diff --git a/testsuite/tests/typecheck/should_fail/tcfail001.stderr b/testsuite/tests/typecheck/should_fail/tcfail001.stderr index 32418ac5c2..3c67882546 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail001.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail001.stderr @@ -1,7 +1,7 @@ tcfail001.hs:9:2: - Couldn't match expected type ‛[t0] -> [t1]’ with actual type ‛[a]’ + Couldn't match expected type ‘[t0] -> [t1]’ with actual type ‘[a]’ Relevant bindings include op :: [a] (bound at tcfail001.hs:9:2) - The equation(s) for ‛op’ have one argument, - but its type ‛[a]’ has none - In the instance declaration for ‛A [a]’ + The equation(s) for ‘op’ have one argument, + but its type ‘[a]’ has none + In the instance declaration for ‘A [a]’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail002.stderr b/testsuite/tests/typecheck/should_fail/tcfail002.stderr index 67248f4064..11e8078a1b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail002.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail002.stderr @@ -5,4 +5,4 @@ tcfail002.hs:4:7: z :: [t] (bound at tcfail002.hs:4:3) c :: [t] -> t (bound at tcfail002.hs:3:1) In the expression: z - In an equation for ‛c’: c z = z + In an equation for ‘c’: c z = z diff --git a/testsuite/tests/typecheck/should_fail/tcfail003.stderr b/testsuite/tests/typecheck/should_fail/tcfail003.stderr index e605497890..54490cd22d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail003.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail003.stderr @@ -1,6 +1,6 @@ tcfail003.hs:3:10: - No instance for (Num Char) arising from the literal ‛1’ + No instance for (Num Char) arising from the literal ‘1’ In the expression: 1 In the expression: [1, 'a'] In a pattern binding: (d : e) = [1, 'a'] diff --git a/testsuite/tests/typecheck/should_fail/tcfail004.stderr b/testsuite/tests/typecheck/should_fail/tcfail004.stderr index fd73db69ae..df54f950c6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail004.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail004.stderr @@ -1,7 +1,7 @@ tcfail004.hs:3:9: - Couldn't match expected type ‛(t, t3)’ - with actual type ‛(t0, t1, t2)’ + Couldn't match expected type ‘(t, t3)’ + with actual type ‘(t0, t1, t2)’ Relevant bindings include f :: t (bound at tcfail004.hs:3:2) g :: t3 (bound at tcfail004.hs:3:4) diff --git a/testsuite/tests/typecheck/should_fail/tcfail005.stderr b/testsuite/tests/typecheck/should_fail/tcfail005.stderr index 401bc35194..bae8697fe8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail005.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail005.stderr @@ -1,6 +1,6 @@ tcfail005.hs:3:9: - Couldn't match expected type ‛[t]’ with actual type ‛(t0, Char)’ + Couldn't match expected type ‘[t]’ with actual type ‘(t0, Char)’ Relevant bindings include h :: t (bound at tcfail005.hs:3:2) i :: [t] (bound at tcfail005.hs:3:4) diff --git a/testsuite/tests/typecheck/should_fail/tcfail006.stderr b/testsuite/tests/typecheck/should_fail/tcfail006.stderr index 387fe56b49..7bfaf2d9a6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail006.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail006.stderr @@ -1,6 +1,6 @@ tcfail006.hs:4:24: - No instance for (Num Bool) arising from the literal ‛1’ + No instance for (Num Bool) arising from the literal ‘1’ In the expression: 1 In the expression: (True, 1) In a case alternative: True -> (True, 1) diff --git a/testsuite/tests/typecheck/should_fail/tcfail007.stderr b/testsuite/tests/typecheck/should_fail/tcfail007.stderr index 99c9504a7e..5ea9792256 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail007.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail007.stderr @@ -1,8 +1,8 @@ tcfail007.hs:3:15: - No instance for (Num Bool) arising from a use of ‛+’ + No instance for (Num Bool) arising from a use of ‘+’ In the expression: x + 1 - In an equation for ‛n’: + In an equation for ‘n’: n x | True = x + 1 | False = True diff --git a/testsuite/tests/typecheck/should_fail/tcfail008.stderr b/testsuite/tests/typecheck/should_fail/tcfail008.stderr index 09c4c54558..c633a15325 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail008.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail008.stderr @@ -1,20 +1,20 @@ tcfail008.hs:3:5: - No instance for (Num a0) arising from the literal ‛1’ - The type variable ‛a0’ is ambiguous + No instance for (Num a0) arising from the literal ‘1’ + The type variable ‘a0’ is ambiguous Relevant bindings include o :: [a0] (bound at tcfail008.hs:3:1) Note: there are several potential instances: - instance Num Double -- Defined in ‛GHC.Float’ - instance Num Float -- Defined in ‛GHC.Float’ + instance Num Double -- Defined in ‘GHC.Float’ + instance Num Float -- Defined in ‘GHC.Float’ instance Integral a => Num (GHC.Real.Ratio a) - -- Defined in ‛GHC.Real’ + -- Defined in ‘GHC.Real’ ...plus three others - In the first argument of ‛(:)’, namely ‛1’ + In the first argument of ‘(:)’, namely ‘1’ In the expression: 1 : 2 - In an equation for ‛o’: o = 1 : 2 + In an equation for ‘o’: o = 1 : 2 tcfail008.hs:3:7: - No instance for (Num [a0]) arising from the literal ‛2’ - In the second argument of ‛(:)’, namely ‛2’ + No instance for (Num [a0]) arising from the literal ‘2’ + In the second argument of ‘(:)’, namely ‘2’ In the expression: 1 : 2 - In an equation for ‛o’: o = 1 : 2 + In an equation for ‘o’: o = 1 : 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail009.stderr b/testsuite/tests/typecheck/should_fail/tcfail009.stderr index 517e39c36f..2597a00c4b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail009.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail009.stderr @@ -1,6 +1,6 @@ tcfail009.hs:3:17: - Couldn't match expected type ‛Int’ with actual type ‛Integer’ + Couldn't match expected type ‘Int’ with actual type ‘Integer’ In the expression: (2 :: Integer) In the expression: [(1 :: Int) .. (2 :: Integer)] - In an equation for ‛p’: p = [(1 :: Int) .. (2 :: Integer)] + In an equation for ‘p’: p = [(1 :: Int) .. (2 :: Integer)] diff --git a/testsuite/tests/typecheck/should_fail/tcfail010.stderr b/testsuite/tests/typecheck/should_fail/tcfail010.stderr index 3f718371aa..abffc1acd2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail010.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail010.stderr @@ -1,6 +1,6 @@ tcfail010.hs:3:17: - No instance for (Num [t0]) arising from a use of ‛+’ + No instance for (Num [t0]) arising from a use of ‘+’ In the expression: z + 2 In the expression: \ (y : z) -> z + 2 - In an equation for ‛q’: q = \ (y : z) -> z + 2 + In an equation for ‘q’: q = \ (y : z) -> z + 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail011.stderr b/testsuite/tests/typecheck/should_fail/tcfail011.stderr index 8ef94fec12..8a69d54101 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail011.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail011.stderr @@ -1,2 +1,2 @@ -tcfail011.hs:3:25: Not in scope: ‛y’ +tcfail011.hs:3:25: Not in scope: ‘y’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail012.stderr b/testsuite/tests/typecheck/should_fail/tcfail012.stderr index 257eca351f..572c7a677c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail012.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail012.stderr @@ -1,5 +1,5 @@ tcfail012.hs:3:8: - Couldn't match expected type ‛Bool’ with actual type ‛[t0]’ + Couldn't match expected type ‘Bool’ with actual type ‘[t0]’ In the expression: [] In a pattern binding: True = [] diff --git a/testsuite/tests/typecheck/should_fail/tcfail013.stderr b/testsuite/tests/typecheck/should_fail/tcfail013.stderr index 075c4dab87..bf567acc2b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail013.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail013.stderr @@ -1,6 +1,6 @@ tcfail013.hs:4:3: - Couldn't match expected type ‛[t]’ with actual type ‛Bool’ + Couldn't match expected type ‘[t]’ with actual type ‘Bool’ Relevant bindings include f :: [t] -> a (bound at tcfail013.hs:3:1) In the pattern: True - In an equation for ‛f’: f True = 2 + In an equation for ‘f’: f True = 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail014.stderr b/testsuite/tests/typecheck/should_fail/tcfail014.stderr index 79af8623e1..d133863e34 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail014.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail014.stderr @@ -4,5 +4,5 @@ tcfail014.hs:5:33: Relevant bindings include z :: t8 -> t7 (bound at tcfail014.hs:5:27) h :: (t8 -> t7) -> t7 (bound at tcfail014.hs:5:25) - In the first argument of ‛z’, namely ‛z’ + In the first argument of ‘z’, namely ‘z’ In the expression: z z diff --git a/testsuite/tests/typecheck/should_fail/tcfail015.stderr b/testsuite/tests/typecheck/should_fail/tcfail015.stderr index 7e02253760..c8332e1b32 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail015.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail015.stderr @@ -1,5 +1,5 @@ tcfail015.hs:7:13: - No instance for (Num Bool) arising from the literal ‛2’ + No instance for (Num Bool) arising from the literal ‘2’ In the expression: 2 - In an equation for ‛g’: g (ANull) = 2 + In an equation for ‘g’: g (ANull) = 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail016.stderr b/testsuite/tests/typecheck/should_fail/tcfail016.stderr index 3b8e2a9712..4180007122 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail016.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail016.stderr @@ -1,22 +1,22 @@ tcfail016.hs:9:20: - Couldn't match type ‛(t, Expr t)’ with ‛Expr t’ + Couldn't match type ‘(t, Expr t)’ with ‘Expr t’ Expected type: Expr t Actual type: AnnExpr t Relevant bindings include e2 :: AnnExpr t (bound at tcfail016.hs:9:11) e1 :: AnnExpr t (bound at tcfail016.hs:9:8) g :: Expr t -> [[Char]] (bound at tcfail016.hs:8:1) - In the first argument of ‛g’, namely ‛e1’ - In the first argument of ‛(++)’, namely ‛(g e1)’ + In the first argument of ‘g’, namely ‘e1’ + In the first argument of ‘(++)’, namely ‘(g e1)’ tcfail016.hs:9:28: - Couldn't match type ‛(t, Expr t)’ with ‛Expr t’ + Couldn't match type ‘(t, Expr t)’ with ‘Expr t’ Expected type: Expr t Actual type: AnnExpr t Relevant bindings include e2 :: AnnExpr t (bound at tcfail016.hs:9:11) e1 :: AnnExpr t (bound at tcfail016.hs:9:8) g :: Expr t -> [[Char]] (bound at tcfail016.hs:8:1) - In the first argument of ‛g’, namely ‛e2’ - In the second argument of ‛(++)’, namely ‛(g e2)’ + In the first argument of ‘g’, namely ‘e2’ + In the second argument of ‘(++)’, namely ‘(g e2)’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail017.stderr b/testsuite/tests/typecheck/should_fail/tcfail017.stderr index a0d73da862..87befa82ed 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail017.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail017.stderr @@ -4,4 +4,4 @@ tcfail017.hs:10:10: arising from the superclasses of an instance declaration from the context (B a) bound by the instance declaration at tcfail017.hs:10:10-23 - In the instance declaration for ‛B [a]’ + In the instance declaration for ‘B [a]’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail018.stderr b/testsuite/tests/typecheck/should_fail/tcfail018.stderr index 687938983b..ef32705126 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail018.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail018.stderr @@ -1,5 +1,5 @@ tcfail018.hs:5:10: - No instance for (Num [t0]) arising from the literal ‛1’ + No instance for (Num [t0]) arising from the literal ‘1’ In the expression: 1 In a pattern binding: (a : []) = 1 diff --git a/testsuite/tests/typecheck/should_fail/tcfail019.stderr b/testsuite/tests/typecheck/should_fail/tcfail019.stderr index 848805abda..49eb857593 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail019.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail019.stderr @@ -2,4 +2,4 @@ tcfail019.hs:18:10: No instance for (B [a]) arising from the superclasses of an instance declaration - In the instance declaration for ‛D [a]’ + In the instance declaration for ‘D [a]’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail020.stderr b/testsuite/tests/typecheck/should_fail/tcfail020.stderr index 9dfaa63a4e..4600f20797 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail020.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail020.stderr @@ -4,4 +4,4 @@ tcfail020.hs:10:10: arising from the superclasses of an instance declaration from the context (A a) bound by the instance declaration at tcfail020.hs:10:10-23 - In the instance declaration for ‛B [a]’ + In the instance declaration for ‘B [a]’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail027.stderr b/testsuite/tests/typecheck/should_fail/tcfail027.stderr index cc4ffcaab3..9cfdcf4a9a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail027.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail027.stderr @@ -1,8 +1,8 @@ tcfail027.hs:4:1: Cycle in class declaration (via superclasses): A -> B -> A - In the class declaration for ‛A’ + In the class declaration for ‘A’ tcfail027.hs:7:1: Cycle in class declaration (via superclasses): B -> A -> B - In the class declaration for ‛B’ + In the class declaration for ‘B’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail028.stderr b/testsuite/tests/typecheck/should_fail/tcfail028.stderr index a5c0a59612..38791e6c0f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail028.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail028.stderr @@ -1,7 +1,7 @@ tcfail028.hs:4:17: - Expecting one more argument to ‛A a’ - Expected a type, but ‛A a’ has kind ‛k0 -> *’ - In the type ‛A a’ - In the definition of data constructor ‛B’ - In the data declaration for ‛A’ + Expecting one more argument to ‘A a’ + Expected a type, but ‘A a’ has kind ‘k0 -> *’ + In the type ‘A a’ + In the definition of data constructor ‘B’ + In the data declaration for ‘A’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail029.stderr b/testsuite/tests/typecheck/should_fail/tcfail029.stderr index 13a1e4936e..5b794458e8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail029.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail029.stderr @@ -1,5 +1,5 @@ tcfail029.hs:6:9: - No instance for (Ord Foo) arising from a use of ‛>’ + No instance for (Ord Foo) arising from a use of ‘>’ In the expression: x > Bar - In an equation for ‛f’: f x = x > Bar + In an equation for ‘f’: f x = x > Bar diff --git a/testsuite/tests/typecheck/should_fail/tcfail030.stderr b/testsuite/tests/typecheck/should_fail/tcfail030.stderr index 1e0f08d021..66b129076b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail030.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail030.stderr @@ -1,3 +1,3 @@ tcfail030.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/typecheck/should_fail/tcfail031.stderr b/testsuite/tests/typecheck/should_fail/tcfail031.stderr index 5d55430eaa..2a22e1b29e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail031.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail031.stderr @@ -1,6 +1,6 @@ tcfail031.hs:3:10: - Couldn't match expected type ‛Bool’ with actual type ‛Char’ + Couldn't match expected type ‘Bool’ with actual type ‘Char’ In the expression: 'a' In the expression: if 'a' then 1 else 2 - In an equation for ‛f’: f x = if 'a' then 1 else 2 + In an equation for ‘f’: f x = if 'a' then 1 else 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail032.stderr b/testsuite/tests/typecheck/should_fail/tcfail032.stderr index 75d64ee76b..954a6fd5ec 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail032.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail032.stderr @@ -1,7 +1,7 @@ tcfail032.hs:14:8: - Couldn't match expected type ‛a1 -> Int’ with actual type ‛t’ - because type variable ‛a1’ would escape its scope + Couldn't match expected type ‘a1 -> Int’ with actual type ‘t’ + because type variable ‘a1’ would escape its scope This (rigid, skolem) type variable is bound by an expression type signature: Eq a1 => a1 -> Int at tcfail032.hs:14:8-30 @@ -9,4 +9,4 @@ tcfail032.hs:14:8: x :: t (bound at tcfail032.hs:14:3) f :: t -> a -> Int (bound at tcfail032.hs:14:1) In the expression: (x :: Eq a => a -> Int) - In an equation for ‛f’: f x = (x :: Eq a => a -> Int) + In an equation for ‘f’: f x = (x :: Eq a => a -> Int) diff --git a/testsuite/tests/typecheck/should_fail/tcfail034.stderr b/testsuite/tests/typecheck/should_fail/tcfail034.stderr index 3fca8122b9..9107051d8c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail034.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail034.stderr @@ -1,12 +1,12 @@ tcfail034.hs:17:13: - Could not deduce (Integral a) arising from a use of ‛mod’ + Could not deduce (Integral a) arising from a use of ‘mod’ from the context (Num a, Eq a) bound by the type signature for test :: (Num a, Eq a) => a -> Bool at tcfail034.hs:16:7-32 Possible fix: add (Integral a) to the context of the type signature for test :: (Num a, Eq a) => a -> Bool - In the first argument of ‛(==)’, namely ‛(x `mod` 3)’ + In the first argument of ‘(==)’, namely ‘(x `mod` 3)’ In the expression: (x `mod` 3) == 0 - In an equation for ‛test’: test x = (x `mod` 3) == 0 + In an equation for ‘test’: test x = (x `mod` 3) == 0 diff --git a/testsuite/tests/typecheck/should_fail/tcfail036.stderr b/testsuite/tests/typecheck/should_fail/tcfail036.stderr index 465e454712..a9aef1192b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail036.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail036.stderr @@ -5,7 +5,7 @@ tcfail036.hs:6:10: instance Num NUM -- Defined at tcfail036.hs:8:10 tcfail036.hs:9:13: - Expecting one more argument to ‛Num’ - The first argument of ‛Eq’ should have kind ‛*’, - but ‛Num’ has kind ‛* -> Constraint’ - In the instance declaration for ‛Eq Num’ + Expecting one more argument to ‘Num’ + The first argument of ‘Eq’ should have kind ‘*’, + but ‘Num’ has kind ‘* -> Constraint’ + In the instance declaration for ‘Eq Num’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail037.stderr b/testsuite/tests/typecheck/should_fail/tcfail037.stderr index 00f757841c..5ada45cc84 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail037.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail037.stderr @@ -1,8 +1,8 @@ tcfail037.hs:7:11: - Ambiguous occurrence ‛+’ - It could refer to either ‛ShouldFail.+’, + Ambiguous occurrence ‘+’ + It could refer to either ‘ShouldFail.+’, defined at tcfail037.hs:10:5 - or ‛Prelude.+’, - imported from ‛Prelude’ at tcfail037.hs:3:8-17 - (and originally defined in ‛GHC.Num’) + or ‘Prelude.+’, + imported from ‘Prelude’ at tcfail037.hs:3:8-17 + (and originally defined in ‘GHC.Num’) diff --git a/testsuite/tests/typecheck/should_fail/tcfail038.stderr b/testsuite/tests/typecheck/should_fail/tcfail038.stderr index f8b7915e00..2d3e9e5bc9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail038.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail038.stderr @@ -1,10 +1,10 @@ tcfail038.hs:7:11: - Conflicting definitions for ‛==’ + Conflicting definitions for ‘==’ Bound at: tcfail038.hs:7:11-12 tcfail038.hs:9:11-12 tcfail038.hs:8:11: - Conflicting definitions for ‛/=’ + Conflicting definitions for ‘/=’ Bound at: tcfail038.hs:8:11-12 tcfail038.hs:10:11-12 diff --git a/testsuite/tests/typecheck/should_fail/tcfail040.stderr b/testsuite/tests/typecheck/should_fail/tcfail040.stderr index 90fb76d99d..923be56470 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail040.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail040.stderr @@ -1,9 +1,9 @@ tcfail040.hs:19:5: - No instance for (ORD a0) arising from a use of ‛<<’ - The type variable ‛a0’ is ambiguous + No instance for (ORD a0) arising from a use of ‘<<’ + The type variable ‘a0’ is ambiguous Note: there is a potential instance available: instance ORD (a -> b) -- Defined at tcfail040.hs:17:10 - In the first argument of ‛(===)’, namely ‛(<<)’ + In the first argument of ‘(===)’, namely ‘(<<)’ In the expression: (<<) === (<<) - In an equation for ‛f’: f = (<<) === (<<) + In an equation for ‘f’: f = (<<) === (<<) diff --git a/testsuite/tests/typecheck/should_fail/tcfail041.stderr b/testsuite/tests/typecheck/should_fail/tcfail041.stderr index f86384133d..fd0d7d8fd2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail041.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail041.stderr @@ -2,4 +2,4 @@ tcfail041.hs:9:10: Unbound implicit parameter (?imp::Int) arising from the superclasses of an instance declaration - In the instance declaration for ‛D Int’ + In the instance declaration for ‘D Int’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail042.stderr b/testsuite/tests/typecheck/should_fail/tcfail042.stderr index 1e1c5ad01e..584d189100 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail042.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail042.stderr @@ -6,4 +6,4 @@ tcfail042.hs:15:10: bound by the instance declaration at tcfail042.hs:15:10-34 Possible fix: add (Num a) to the context of the instance declaration - In the instance declaration for ‛Bar [a]’ + In the instance declaration for ‘Bar [a]’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail043.stderr b/testsuite/tests/typecheck/should_fail/tcfail043.stderr index df750a4a3c..6215ce6ad2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail043.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail043.stderr @@ -1,7 +1,7 @@ tcfail043.hs:38:17: - No instance for (Ord_ a0) arising from a use of ‛gt’ - The type variable ‛a0’ is ambiguous + No instance for (Ord_ a0) arising from a use of ‘gt’ + The type variable ‘a0’ is ambiguous Relevant bindings include bs :: [a0] (bound at tcfail043.hs:38:8) a :: a0 (bound at tcfail043.hs:38:6) @@ -22,8 +22,8 @@ tcfail043.hs:38:17: if eq a (hd bs) then True else search a (tl bs) tcfail043.hs:40:25: - No instance for (Eq_ a0) arising from a use of ‛eq’ - The type variable ‛a0’ is ambiguous + No instance for (Eq_ a0) arising from a use of ‘eq’ + The type variable ‘a0’ is ambiguous Relevant bindings include bs :: [a0] (bound at tcfail043.hs:38:8) a :: a0 (bound at tcfail043.hs:38:6) diff --git a/testsuite/tests/typecheck/should_fail/tcfail044.stderr b/testsuite/tests/typecheck/should_fail/tcfail044.stderr index eaf769f8b7..9733cc4fc8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail044.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail044.stderr @@ -1,16 +1,16 @@ tcfail044.hs:5:20: - Illegal instance declaration for ‛Eq (a -> a)’ + Illegal instance declaration for ‘Eq (a -> a)’ (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use FlexibleInstances if you want to disable this.) - In the instance declaration for ‛Eq (a -> a)’ + In the instance declaration for ‘Eq (a -> a)’ tcfail044.hs:8:21: - Illegal instance declaration for ‛Num (a -> a)’ + Illegal instance declaration for ‘Num (a -> a)’ (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use FlexibleInstances if you want to disable this.) - In the instance declaration for ‛Num (a -> a)’ + In the instance declaration for ‘Num (a -> a)’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail046.stderr b/testsuite/tests/typecheck/should_fail/tcfail046.stderr index b029915b12..1dbfdad8f3 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail046.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail046.stderr @@ -1,7 +1,7 @@ tcfail046.hs:10:50: No instance for (Eq (Process a)) - arising from the first field of ‛Do’ (type ‛Process a’) + arising from the first field of ‘Do’ (type ‘Process a’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself @@ -9,7 +9,7 @@ tcfail046.hs:10:50: tcfail046.hs:22:25: No instance for (Eq (Process a)) - arising from the first field of ‛Create’ (type ‛Process a’) + arising from the first field of ‘Create’ (type ‘Process a’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/typecheck/should_fail/tcfail047.stderr b/testsuite/tests/typecheck/should_fail/tcfail047.stderr index b9778baf9b..53eb4defdd 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail047.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail047.stderr @@ -1,8 +1,8 @@ tcfail047.hs:6:10: - Illegal instance declaration for ‛A (a, (b, c))’ + Illegal instance declaration for ‘A (a, (b, c))’ (All instance types must be of the form (T a1 ... an) where a1 ... an are *distinct type variables*, and each type variable appears at most once in the instance head. Use FlexibleInstances if you want to disable this.) - In the instance declaration for ‛A (a, (b, c))’ + In the instance declaration for ‘A (a, (b, c))’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail048.stderr b/testsuite/tests/typecheck/should_fail/tcfail048.stderr index 29d205e279..eaa2e52d36 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail048.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail048.stderr @@ -1,2 +1,2 @@ -tcfail048.hs:3:8: Not in scope: type constructor or class ‛B’ +tcfail048.hs:3:8: Not in scope: type constructor or class ‘B’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail049.stderr b/testsuite/tests/typecheck/should_fail/tcfail049.stderr index 3a632e2425..6e871b0b86 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail049.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail049.stderr @@ -1,2 +1,2 @@ -tcfail049.hs:3:7: Not in scope: ‛g’ +tcfail049.hs:3:7: Not in scope: ‘g’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail050.stderr b/testsuite/tests/typecheck/should_fail/tcfail050.stderr index 5d7a917f53..db312bd721 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail050.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail050.stderr @@ -1,2 +1,2 @@ -tcfail050.hs:3:7: Not in scope: data constructor ‛B’ +tcfail050.hs:3:7: Not in scope: data constructor ‘B’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail051.stderr b/testsuite/tests/typecheck/should_fail/tcfail051.stderr index f4b0c0c563..958d0530ac 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail051.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail051.stderr @@ -1,2 +1,2 @@ -tcfail051.hs:3:10: Not in scope: type constructor or class ‛B’ +tcfail051.hs:3:10: Not in scope: type constructor or class ‘B’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail052.stderr b/testsuite/tests/typecheck/should_fail/tcfail052.stderr index 2359b4433e..671565b506 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail052.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail052.stderr @@ -1,2 +1,2 @@ -tcfail052.hs:3:16: Not in scope: type variable ‛c’ +tcfail052.hs:3:16: Not in scope: type variable ‘c’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail053.stderr b/testsuite/tests/typecheck/should_fail/tcfail053.stderr index c014f2f4f3..a9b13bd6da 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail053.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail053.stderr @@ -1,2 +1,2 @@ -tcfail053.hs:3:12: Not in scope: type constructor or class ‛A’ +tcfail053.hs:3:12: Not in scope: type constructor or class ‘A’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail054.stderr b/testsuite/tests/typecheck/should_fail/tcfail054.stderr index 93b200983f..79662bf1fe 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail054.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail054.stderr @@ -1,2 +1,2 @@ -tcfail054.hs:3:4: Not in scope: data constructor ‛B’ +tcfail054.hs:3:4: Not in scope: data constructor ‘B’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail055.stderr b/testsuite/tests/typecheck/should_fail/tcfail055.stderr index c82e9af2aa..f70bad6a02 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail055.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail055.stderr @@ -1,5 +1,5 @@ tcfail055.hs:3:8: - Couldn't match expected type ‛Float’ with actual type ‛Int’ + Couldn't match expected type ‘Float’ with actual type ‘Int’ In the expression: (x + 1 :: Int) :: Float - In an equation for ‛f’: f x = (x + 1 :: Int) :: Float + In an equation for ‘f’: f x = (x + 1 :: Int) :: Float diff --git a/testsuite/tests/typecheck/should_fail/tcfail056.stderr b/testsuite/tests/typecheck/should_fail/tcfail056.stderr index 60bba97453..16f44eacb8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail056.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail056.stderr @@ -1,2 +1,2 @@ -tcfail056.hs:10:15: ‛<=’ is not a (visible) method of class ‛Eq’ +tcfail056.hs:10:15: ‘<=’ is not a (visible) method of class ‘Eq’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail057.stderr b/testsuite/tests/typecheck/should_fail/tcfail057.stderr index 5b19563bfc..d581207afa 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail057.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail057.stderr @@ -1,4 +1,4 @@ tcfail057.hs:5:7: - Expected a type, but ‛RealFrac a’ has kind ‛Constraint’ - In the type signature for ‛f’: f :: (RealFrac a) -> a -> a + Expected a type, but ‘RealFrac a’ has kind ‘Constraint’ + In the type signature for ‘f’: f :: (RealFrac a) -> a -> a diff --git a/testsuite/tests/typecheck/should_fail/tcfail058.stderr b/testsuite/tests/typecheck/should_fail/tcfail058.stderr index f5770a42dd..101a6a07d2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail058.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail058.stderr @@ -1,5 +1,5 @@ tcfail058.hs:6:7: - Expecting one more argument to ‛Array a’ - Expected a constraint, but ‛Array a’ has kind ‛* -> *’ - In the type signature for ‛f’: f :: Array a => a -> b + Expecting one more argument to ‘Array a’ + Expected a constraint, but ‘Array a’ has kind ‘* -> *’ + In the type signature for ‘f’: f :: Array a => a -> b diff --git a/testsuite/tests/typecheck/should_fail/tcfail061.stderr b/testsuite/tests/typecheck/should_fail/tcfail061.stderr index 14ce5aec71..abd72aa2bc 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail061.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail061.stderr @@ -1,8 +1,8 @@ -tcfail061.hs:5:17: Not in scope: type variable ‛b’ +tcfail061.hs:5:17: Not in scope: type variable ‘b’ -tcfail061.hs:5:19: Not in scope: type variable ‛b’ +tcfail061.hs:5:19: Not in scope: type variable ‘b’ -tcfail061.hs:11:22: Not in scope: type variable ‛b’ +tcfail061.hs:11:22: Not in scope: type variable ‘b’ -tcfail061.hs:11:24: Not in scope: type variable ‛b’ +tcfail061.hs:11:24: Not in scope: type variable ‘b’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail062.stderr b/testsuite/tests/typecheck/should_fail/tcfail062.stderr index 2111c7e0fa..1396b536ee 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail062.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail062.stderr @@ -1,6 +1,6 @@ tcfail062.hs:34:6: - Not in scope: type variable ‛behaviouralExpression’ + Not in scope: type variable ‘behaviouralExpression’ tcfail062.hs:34:29: - Not in scope: type variable ‛behaviouralExpression’ + Not in scope: type variable ‘behaviouralExpression’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail063.stderr b/testsuite/tests/typecheck/should_fail/tcfail063.stderr index 0464396725..45bdaa36e2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail063.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail063.stderr @@ -1,5 +1,5 @@ tcfail063.hs:6:9: - Expecting one more argument to ‛Num’ - Expected a constraint, but ‛Num’ has kind ‛* -> Constraint’ - In the type signature for ‛moby’: moby :: Num => Int -> a -> Int + Expecting one more argument to ‘Num’ + Expected a constraint, but ‘Num’ has kind ‘* -> Constraint’ + In the type signature for ‘moby’: moby :: Num => Int -> a -> Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail065.stderr b/testsuite/tests/typecheck/should_fail/tcfail065.stderr index 89ac58145a..f912a68cdd 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail065.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail065.stderr @@ -1,13 +1,13 @@ tcfail065.hs:29:20: - Couldn't match expected type ‛x’ with actual type ‛x1’ - ‛x1’ is a rigid type variable bound by + Couldn't match expected type ‘x’ with actual type ‘x1’ + ‘x1’ is a rigid type variable bound by the type signature for setX :: x1 -> X x -> X x at tcfail065.hs:29:3 - ‛x’ is a rigid type variable bound by + ‘x’ is a rigid type variable bound by the instance declaration at tcfail065.hs:28:10 Relevant bindings include x :: x1 (bound at tcfail065.hs:29:8) setX :: x1 -> X x -> X x (bound at tcfail065.hs:29:3) - In the first argument of ‛X’, namely ‛x’ + In the first argument of ‘X’, namely ‘x’ In the expression: X x diff --git a/testsuite/tests/typecheck/should_fail/tcfail067.stderr b/testsuite/tests/typecheck/should_fail/tcfail067.stderr index ebe87035d1..e3f6444572 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail067.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail067.stderr @@ -3,24 +3,24 @@ tcfail067.hs:1:14: Warning: -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. tcfail067.hs:12:16: - No instance for (Ord a) arising from a use of ‛SubRange’ + No instance for (Ord a) arising from a use of ‘SubRange’ Possible fix: add (Ord a) to the context of the type signature for subRangeValue :: SubRange a -> a In the pattern: SubRange (lower, upper) value - In an equation for ‛subRangeValue’: + In an equation for ‘subRangeValue’: subRangeValue (SubRange (lower, upper) value) = value tcfail067.hs:15:11: - No instance for (Ord a) arising from a use of ‛SubRange’ + No instance for (Ord a) arising from a use of ‘SubRange’ Possible fix: add (Ord a) to the context of the type signature for subRange :: SubRange a -> (a, a) In the pattern: SubRange r value - In an equation for ‛subRange’: subRange (SubRange r value) = r + In an equation for ‘subRange’: subRange (SubRange r value) = r tcfail067.hs:46:12: - Could not deduce (Ord a) arising from a use of ‛SubRange’ + Could not deduce (Ord a) arising from a use of ‘SubRange’ from the context (Show a) bound by the type signature for showRange :: Show a => SubRange a -> String @@ -29,35 +29,35 @@ tcfail067.hs:46:12: add (Ord a) to the context of the type signature for showRange :: Show a => SubRange a -> String In the pattern: SubRange (lower, upper) value - In an equation for ‛showRange’: + In an equation for ‘showRange’: showRange (SubRange (lower, upper) value) = show value ++ " :" ++ show lower ++ ".." ++ show upper tcfail067.hs:61:12: - Could not deduce (Show a) arising from a use of ‛numSubRangeNegate’ + Could not deduce (Show a) arising from a use of ‘numSubRangeNegate’ from the context (Num a) bound by the instance declaration at tcfail067.hs:60:10-34 Possible fix: add (Show a) to the context of the instance declaration In the expression: numSubRangeNegate - In an equation for ‛negate’: negate = numSubRangeNegate - In the instance declaration for ‛Num (SubRange a)’ + In an equation for ‘negate’: negate = numSubRangeNegate + In the instance declaration for ‘Num (SubRange a)’ tcfail067.hs:65:19: - Could not deduce (Ord a) arising from a use of ‛SubRange’ + Could not deduce (Ord a) arising from a use of ‘SubRange’ from the context (Num a) bound by the instance declaration at tcfail067.hs:60:10-34 Possible fix: add (Ord a) to the context of the instance declaration In the expression: SubRange (fromInteger a, fromInteger a) (fromInteger a) - In an equation for ‛fromInteger’: + In an equation for ‘fromInteger’: fromInteger a = SubRange (fromInteger a, fromInteger a) (fromInteger a) - In the instance declaration for ‛Num (SubRange a)’ + In the instance declaration for ‘Num (SubRange a)’ tcfail067.hs:74:5: - Could not deduce (Ord a) arising from a use of ‛SubRange’ + Could not deduce (Ord a) arising from a use of ‘SubRange’ from the context (Num a) bound by the type signature for numSubRangeBinOp :: Num a => @@ -69,7 +69,7 @@ tcfail067.hs:74:5: numSubRangeBinOp :: Num a => (a -> a -> a) -> SubRange a -> SubRange a -> SubRange a In the expression: SubRange (result, result) result - In an equation for ‛numSubRangeBinOp’: + In an equation for ‘numSubRangeBinOp’: numSubRangeBinOp op a b = SubRange (result, result) result where diff --git a/testsuite/tests/typecheck/should_fail/tcfail068.stderr b/testsuite/tests/typecheck/should_fail/tcfail068.stderr index 8b2cd42158..1df6fb8bb4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail068.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail068.stderr @@ -5,10 +5,10 @@ tcfail068.hs:14:9: bound by the type signature for itgen :: Constructed a => (Int, Int) -> a -> IndTree s a at tcfail068.hs:11:10-55 - ‛s1’ is a rigid type variable bound by + ‘s1’ is a rigid type variable bound by a type expected by the context: GHC.ST.ST s1 (IndTree s a) at tcfail068.hs:13:9 - ‛s’ is a rigid type variable bound by + ‘s’ is a rigid type variable bound by the type signature for itgen :: Constructed a => (Int, Int) -> a -> IndTree s a at tcfail068.hs:11:10 @@ -17,8 +17,8 @@ tcfail068.hs:14:9: Relevant bindings include itgen :: (Int, Int) -> a -> IndTree s a (bound at tcfail068.hs:12:1) - In the first argument of ‛runST’, namely - ‛(newSTArray ((1, 1), n) x)’ + In the first argument of ‘runST’, namely + ‘(newSTArray ((1, 1), n) x)’ In the expression: runST (newSTArray ((1, 1), n) x) tcfail068.hs:19:21: @@ -28,12 +28,12 @@ tcfail068.hs:19:21: itiap :: Constructed a => (Int, Int) -> (a -> a) -> IndTree s a -> IndTree s a at tcfail068.hs:16:10-75 - ‛s’ is a rigid type variable bound by + ‘s’ is a rigid type variable bound by the type signature for itiap :: Constructed a => (Int, Int) -> (a -> a) -> IndTree s a -> IndTree s a at tcfail068.hs:16:10 - ‛s1’ is a rigid type variable bound by + ‘s1’ is a rigid type variable bound by a type expected by the context: GHC.ST.ST s1 (IndTree s a) at tcfail068.hs:18:9 Expected type: STArray s1 (Int, Int) a @@ -42,8 +42,8 @@ tcfail068.hs:19:21: arr :: IndTree s a (bound at tcfail068.hs:17:11) itiap :: (Int, Int) -> (a -> a) -> IndTree s a -> IndTree s a (bound at tcfail068.hs:17:1) - In the first argument of ‛readSTArray’, namely ‛arr’ - In the first argument of ‛(>>=)’, namely ‛readSTArray arr i’ + In the first argument of ‘readSTArray’, namely ‘arr’ + In the first argument of ‘(>>=)’, namely ‘readSTArray arr i’ tcfail068.hs:24:35: Could not deduce (s ~ s1) @@ -52,12 +52,12 @@ tcfail068.hs:24:35: itrap :: Constructed a => ((Int, Int), (Int, Int)) -> (a -> a) -> IndTree s a -> IndTree s a at tcfail068.hs:23:10-87 - ‛s’ is a rigid type variable bound by + ‘s’ is a rigid type variable bound by the type signature for itrap :: Constructed a => ((Int, Int), (Int, Int)) -> (a -> a) -> IndTree s a -> IndTree s a at tcfail068.hs:23:10 - ‛s1’ is a rigid type variable bound by + ‘s1’ is a rigid type variable bound by a type expected by the context: GHC.ST.ST s1 (IndTree s a) at tcfail068.hs:24:29 Expected type: GHC.ST.ST s1 (IndTree s a) @@ -71,7 +71,7 @@ tcfail068.hs:24:35: itrap :: ((Int, Int), (Int, Int)) -> (a -> a) -> IndTree s a -> IndTree s a (bound at tcfail068.hs:24:1) - In the first argument of ‛runST’, namely ‛(itrap' i k)’ + In the first argument of ‘runST’, namely ‘(itrap' i k)’ In the expression: runST (itrap' i k) tcfail068.hs:36:46: @@ -87,7 +87,7 @@ tcfail068.hs:36:46: -> IndTree s b -> (c, IndTree s b) at tcfail068.hs:(34,15)-(35,62) - ‛s’ is a rigid type variable bound by + ‘s’ is a rigid type variable bound by the type signature for itrapstate :: Constructed b => ((Int, Int), (Int, Int)) @@ -98,7 +98,7 @@ tcfail068.hs:36:46: -> IndTree s b -> (c, IndTree s b) at tcfail068.hs:34:15 - ‛s1’ is a rigid type variable bound by + ‘s1’ is a rigid type variable bound by a type expected by the context: GHC.ST.ST s1 (c, IndTree s b) at tcfail068.hs:36:40 Expected type: GHC.ST.ST s1 (c, IndTree s b) @@ -117,5 +117,5 @@ tcfail068.hs:36:46: -> IndTree s b -> (c, IndTree s b) (bound at tcfail068.hs:36:1) - In the first argument of ‛runST’, namely ‛(itrapstate' i k s)’ + In the first argument of ‘runST’, namely ‘(itrapstate' i k s)’ In the expression: runST (itrapstate' i k s) diff --git a/testsuite/tests/typecheck/should_fail/tcfail069.stderr b/testsuite/tests/typecheck/should_fail/tcfail069.stderr index 7c793c49ba..195119d26d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail069.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail069.stderr @@ -1,7 +1,7 @@ tcfail069.hs:21:7: - Couldn't match expected type ‛([Int], [Int])’ - with actual type ‛[t0]’ + Couldn't match expected type ‘([Int], [Int])’ + with actual type ‘[t0]’ In the pattern: [] In a case alternative: [] -> error "foo" In the expression: case (list1, list2) of { [] -> error "foo" } diff --git a/testsuite/tests/typecheck/should_fail/tcfail070.stderr b/testsuite/tests/typecheck/should_fail/tcfail070.stderr index bc0590aae8..d98857de4c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail070.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail070.stderr @@ -1,5 +1,5 @@ tcfail070.hs:15:15: - ‛[Int]’ is applied to too many type arguments - In the type ‛[Int] Bool’ - In the type declaration for ‛State’ + ‘[Int]’ is applied to too many type arguments + In the type ‘[Int] Bool’ + In the type declaration for ‘State’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail072.stderr b/testsuite/tests/typecheck/should_fail/tcfail072.stderr index 828de022e6..aa5fcc9c7e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail072.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail072.stderr @@ -1,16 +1,16 @@ tcfail072.hs:23:13: - Could not deduce (Ord q0) arising from a use of ‛g’ + Could not deduce (Ord q0) arising from a use of ‘g’ from the context (Ord p, Ord q) bound by the type signature for g :: (Ord p, Ord q) => AB p q -> Bool at tcfail072.hs:22:6-38 - The type variable ‛q0’ is ambiguous + The type variable ‘q0’ is ambiguous Note: there are several potential instances: instance Integral a => Ord (GHC.Real.Ratio a) - -- Defined in ‛GHC.Real’ - instance Ord () -- Defined in ‛GHC.Classes’ - instance (Ord a, Ord b) => Ord (a, b) -- Defined in ‛GHC.Classes’ + -- Defined in ‘GHC.Real’ + instance Ord () -- Defined in ‘GHC.Classes’ + instance (Ord a, Ord b) => Ord (a, b) -- Defined in ‘GHC.Classes’ ...plus 23 others In the expression: g A - In an equation for ‛g’: g (B _ _) = g A + In an equation for ‘g’: g (B _ _) = g A diff --git a/testsuite/tests/typecheck/should_fail/tcfail073.stderr b/testsuite/tests/typecheck/should_fail/tcfail073.stderr index 16bcdf4c0f..da7f1e4e6d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail073.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail073.stderr @@ -2,4 +2,4 @@ tcfail073.hs:8:10: Duplicate instance declarations: instance Eq a => Eq (a, b) -- Defined at tcfail073.hs:8:10 - instance (Eq a, Eq b) => Eq (a, b) -- Defined in ‛GHC.Classes’ + instance (Eq a, Eq b) => Eq (a, b) -- Defined in ‘GHC.Classes’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail076.stderr b/testsuite/tests/typecheck/should_fail/tcfail076.stderr index d6d23eb9c2..b5ad5cd2d6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail076.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail076.stderr @@ -1,10 +1,10 @@ tcfail076.hs:18:82: - Couldn't match type ‛res’ with ‛res1’ - ‛res’ is a rigid type variable bound by + Couldn't match type ‘res’ with ‘res1’ + ‘res’ is a rigid type variable bound by a type expected by the context: (a -> m res) -> m res at tcfail076.hs:18:28 - ‛res1’ is a rigid type variable bound by + ‘res1’ is a rigid type variable bound by a type expected by the context: (b -> m res1) -> m res1 at tcfail076.hs:18:64 Expected type: m res1 @@ -13,4 +13,4 @@ tcfail076.hs:18:82: cont' :: b -> m res1 (bound at tcfail076.hs:18:73) cont :: a -> m res (bound at tcfail076.hs:18:37) In the expression: cont a - In the first argument of ‛KContT’, namely ‛(\ cont' -> cont a)’ + In the first argument of ‘KContT’, namely ‘(\ cont' -> cont a)’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail077.stderr b/testsuite/tests/typecheck/should_fail/tcfail077.stderr index 3f25950faf..39ee49db3f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail077.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail077.stderr @@ -1,2 +1,2 @@ -tcfail077.hs:8:3: ‛op2’ is not a (visible) method of class ‛Foo’ +tcfail077.hs:8:3: ‘op2’ is not a (visible) method of class ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail078.stderr b/testsuite/tests/typecheck/should_fail/tcfail078.stderr index b3fabd30b9..9266b951f1 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail078.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail078.stderr @@ -1,4 +1,4 @@ tcfail078.hs:5:6: - ‛Integer’ is applied to too many type arguments - In the type signature for ‛f’: f :: Integer i => i + ‘Integer’ is applied to too many type arguments + In the type signature for ‘f’: f :: Integer i => i diff --git a/testsuite/tests/typecheck/should_fail/tcfail079.stderr b/testsuite/tests/typecheck/should_fail/tcfail079.stderr index 4cce1a69ba..125c6f13f6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail079.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail079.stderr @@ -1,6 +1,6 @@ tcfail079.hs:9:27: - Expecting a lifted type, but ‛Int#’ is unlifted - In the type ‛Int#’ - In the definition of data constructor ‛Unboxed’ - In the newtype declaration for ‛Unboxed’ + Expecting a lifted type, but ‘Int#’ is unlifted + In the type ‘Int#’ + In the definition of data constructor ‘Unboxed’ + In the newtype declaration for ‘Unboxed’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail080.stderr b/testsuite/tests/typecheck/should_fail/tcfail080.stderr index 23afa16ba3..589d6cf342 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail080.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail080.stderr @@ -1,13 +1,13 @@ tcfail080.hs:27:1: Could not deduce (Collection c0 a) - arising from the ambiguity check for ‛q’ + arising from the ambiguity check for ‘q’ from the context (Collection c a) - bound by the inferred type for ‛q’: Collection c a => a -> Bool + bound by the inferred type for ‘q’: Collection c a => a -> Bool at tcfail080.hs:27:1-27 - The type variable ‛c0’ is ambiguous - When checking that ‛q’ - has the inferred type ‛forall (c :: * -> *) a. + The type variable ‘c0’ is ambiguous + When checking that ‘q’ + has the inferred type ‘forall (c :: * -> *) a. Collection c a => a -> Bool’ Probable cause: the inferred type is ambiguous diff --git a/testsuite/tests/typecheck/should_fail/tcfail082.stderr b/testsuite/tests/typecheck/should_fail/tcfail082.stderr index 11823fe448..4e3d6ce996 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail082.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail082.stderr @@ -1,12 +1,12 @@ tcfail082.hs:2:1: - Failed to load interface for ‛Data82’ + Failed to load interface for ‘Data82’ Use -v to see a list of the files searched for. tcfail082.hs:3:1: - Failed to load interface for ‛Inst82_1’ + Failed to load interface for ‘Inst82_1’ Use -v to see a list of the files searched for. tcfail082.hs:4:1: - Failed to load interface for ‛Inst82_2’ + Failed to load interface for ‘Inst82_2’ Use -v to see a list of the files searched for. diff --git a/testsuite/tests/typecheck/should_fail/tcfail083.stderr b/testsuite/tests/typecheck/should_fail/tcfail083.stderr index 8bcd75be63..badd43909d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail083.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail083.stderr @@ -1,7 +1,7 @@ tcfail083.hs:8:39: - Constructor ‛Bar’ does not have field ‛baz’ + Constructor ‘Bar’ does not have field ‘baz’ In the pattern: Bar {flag = f, baz = b} In the pattern: State {bar = Bar {flag = f, baz = b}} - In an equation for ‛display’: + In an equation for ‘display’: display (State {bar = Bar {flag = f, baz = b}}) = print (f, b) diff --git a/testsuite/tests/typecheck/should_fail/tcfail084.stderr b/testsuite/tests/typecheck/should_fail/tcfail084.stderr index cfa0ff4835..df09cd91be 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail084.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail084.stderr @@ -1,5 +1,5 @@ tcfail084.hs:10:5: - Constructor ‛F’ does not have field ‛y’ + Constructor ‘F’ does not have field ‘y’ In the expression: F {y = 2} - In an equation for ‛z’: z = F {y = 2} + In an equation for ‘z’: z = F {y = 2} diff --git a/testsuite/tests/typecheck/should_fail/tcfail085.stderr b/testsuite/tests/typecheck/should_fail/tcfail085.stderr index feb7c6daf3..6c2e9bd913 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail085.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail085.stderr @@ -1,5 +1,5 @@ tcfail085.hs:9:5: - Constructor ‛F’ does not have the required strict field(s): y + Constructor ‘F’ does not have the required strict field(s): y In the expression: F {x = 2} - In an equation for ‛z’: z = F {x = 2} + In an equation for ‘z’: z = F {x = 2} diff --git a/testsuite/tests/typecheck/should_fail/tcfail086.stderr b/testsuite/tests/typecheck/should_fail/tcfail086.stderr index ebf4d4e8e6..65149ef1f9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail086.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail086.stderr @@ -1,6 +1,6 @@ tcfail086.hs:6:38: - Can't make a derived instance of ‛Eq Ex’: - Constructor ‛Ex’ must have a Haskell-98 type + Can't make a derived instance of ‘Eq Ex’: + Constructor ‘Ex’ must have a Haskell-98 type Possible fix: use a standalone deriving declaration instead - In the data declaration for ‛Ex’ + In the data declaration for ‘Ex’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail088.stderr b/testsuite/tests/typecheck/should_fail/tcfail088.stderr index 1c303d9a65..d9cd5427b7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail088.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail088.stderr @@ -1,4 +1,4 @@ tcfail088.hs:9:19: Illegal polymorphic or qualified type: forall s. T s a - In the instance declaration for ‛Ord (forall s. T s a)’ + In the instance declaration for ‘Ord (forall s. T s a)’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail090.stderr b/testsuite/tests/typecheck/should_fail/tcfail090.stderr index 1b93cba9c7..c4a8a31b60 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail090.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail090.stderr @@ -4,4 +4,4 @@ tcfail090.hs:11:9: a0 :: *
ByteArray# :: #
In the expression: my_undefined
- In an equation for ‛die’: die _ = my_undefined
+ In an equation for ‘die’: die _ = my_undefined
diff --git a/testsuite/tests/typecheck/should_fail/tcfail092.stderr b/testsuite/tests/typecheck/should_fail/tcfail092.stderr index d1079d879e..68f94ea7d9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail092.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail092.stderr @@ -1,3 +1,3 @@ tcfail092.hs:7:27: - Duplicate binding in parallel list comprehension for: ‛a’ + Duplicate binding in parallel list comprehension for: ‘a’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail097.stderr b/testsuite/tests/typecheck/should_fail/tcfail097.stderr index 4d5d40c8d3..cbd5612b96 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail097.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail097.stderr @@ -1,10 +1,10 @@ tcfail097.hs:5:6: - Could not deduce (Eq a0) arising from the ambiguity check for ‛f’ + Could not deduce (Eq a0) arising from the ambiguity check for ‘f’ from the context (Eq a) bound by the type signature for f :: Eq a => Int -> Int at tcfail097.hs:5:6-23 - The type variable ‛a0’ is ambiguous + The type variable ‘a0’ is ambiguous In the ambiguity check for: forall a. Eq a => Int -> Int To defer the ambiguity check to use sites, enable AllowAmbiguousTypes - In the type signature for ‛f’: f :: Eq a => Int -> Int + In the type signature for ‘f’: f :: Eq a => Int -> Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail098.stderr b/testsuite/tests/typecheck/should_fail/tcfail098.stderr index 15d33b1245..94ade75946 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail098.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail098.stderr @@ -5,7 +5,7 @@ tcfail098.hs:12:10: from the context (Bar a) bound by an instance declaration: Bar a => Bar Bool at tcfail098.hs:12:10-26 - The type variable ‛a0’ is ambiguous + The type variable ‘a0’ is ambiguous In the ambiguity check for: forall a. Bar a => Bar Bool To defer the ambiguity check to use sites, enable AllowAmbiguousTypes - In the instance declaration for ‛Bar Bool’ + In the instance declaration for ‘Bar Bool’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail099.stderr b/testsuite/tests/typecheck/should_fail/tcfail099.stderr index 73293eb6b6..7b1f5bc0e0 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail099.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail099.stderr @@ -1,15 +1,15 @@ tcfail099.hs:9:20: - Couldn't match expected type ‛a’ with actual type ‛t’ - because type variable ‛a’ would escape its scope + Couldn't match expected type ‘a’ with actual type ‘t’ + because type variable ‘a’ would escape its scope This (rigid, skolem) type variable is bound by a pattern with constructor C :: forall a. (a -> Int) -> DS, - in an equation for ‛call’ + in an equation for ‘call’ at tcfail099.hs:9:7-9 Relevant bindings include arg :: t (bound at tcfail099.hs:9:12) f :: a -> Int (bound at tcfail099.hs:9:9) call :: DS -> t -> Int (bound at tcfail099.hs:9:1) - In the first argument of ‛f’, namely ‛arg’ + In the first argument of ‘f’, namely ‘arg’ In the expression: f arg diff --git a/testsuite/tests/typecheck/should_fail/tcfail100.stderr b/testsuite/tests/typecheck/should_fail/tcfail100.stderr index 1e78076701..c2bf429fd6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail100.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail100.stderr @@ -1,4 +1,4 @@ tcfail100.hs:7:1: - Type synonym ‛A’ should have 1 argument, but has been given none - In the type declaration for ‛B’ + Type synonym ‘A’ should have 1 argument, but has been given none + In the type declaration for ‘B’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail101.stderr b/testsuite/tests/typecheck/should_fail/tcfail101.stderr index f9b3f2f71f..ddf8e433f0 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail101.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail101.stderr @@ -1,4 +1,4 @@ tcfail101.hs:9:6: - Type synonym ‛A’ should have 1 argument, but has been given none - In the type signature for ‛f’: f :: T A + Type synonym ‘A’ should have 1 argument, but has been given none + In the type signature for ‘f’: f :: T A diff --git a/testsuite/tests/typecheck/should_fail/tcfail102.stderr b/testsuite/tests/typecheck/should_fail/tcfail102.stderr index 1009fb4cca..01a8bba99a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail102.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail102.stderr @@ -3,11 +3,11 @@ tcfail102.hs:1:14: Warning: -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. tcfail102.hs:9:15: - Could not deduce (Integral (Ratio a)) arising from a use of ‛p’ + Could not deduce (Integral (Ratio a)) arising from a use of ‘p’ from the context (Integral a) bound by the type signature for f :: Integral a => P (Ratio a) -> P (Ratio a) at tcfail102.hs:8:6-45 - In the ‛p’ field of a record + In the ‘p’ field of a record In the expression: x {p = p x} - In an equation for ‛f’: f x = x {p = p x} + In an equation for ‘f’: f x = x {p = p x} diff --git a/testsuite/tests/typecheck/should_fail/tcfail103.stderr b/testsuite/tests/typecheck/should_fail/tcfail103.stderr index 4f1315331d..1d71a6aa9a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail103.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail103.stderr @@ -1,9 +1,9 @@ tcfail103.hs:15:23: - Couldn't match type ‛t’ with ‛s’ - ‛t’ is a rigid type variable bound by + Couldn't match type ‘t’ with ‘s’ + ‘t’ is a rigid type variable bound by the type signature for f :: ST t Int at tcfail103.hs:10:5 - ‛s’ is a rigid type variable bound by + ‘s’ is a rigid type variable bound by the type signature for g :: ST s Int at tcfail103.hs:13:14 Expected type: STRef s Int Actual type: STRef t Int @@ -11,5 +11,5 @@ tcfail103.hs:15:23: g :: ST s Int (bound at tcfail103.hs:15:9) v :: STRef t Int (bound at tcfail103.hs:12:5) f :: ST t Int (bound at tcfail103.hs:11:1) - In the first argument of ‛readSTRef’, namely ‛v’ + In the first argument of ‘readSTRef’, namely ‘v’ In the expression: readSTRef v diff --git a/testsuite/tests/typecheck/should_fail/tcfail104.stderr b/testsuite/tests/typecheck/should_fail/tcfail104.stderr index ea41dfad92..cb14d9af26 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail104.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail104.stderr @@ -1,12 +1,12 @@ tcfail104.hs:16:19: - Couldn't match expected type ‛Char -> Char’ - with actual type ‛forall a. a -> a’ + Couldn't match expected type ‘Char -> Char’ + with actual type ‘forall a. a -> a’ In the expression: x In the expression: (\ x -> x) tcfail104.hs:22:39: - Couldn't match expected type ‛forall a. a -> a’ - with actual type ‛a0 -> a0’ + Couldn't match expected type ‘forall a. a -> a’ + with actual type ‘a0 -> a0’ In the expression: x In the expression: (\ (x :: forall a. a -> a) -> x) diff --git a/testsuite/tests/typecheck/should_fail/tcfail106.stderr b/testsuite/tests/typecheck/should_fail/tcfail106.stderr index 2eeaf71979..8d8d1a61d8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail106.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail106.stderr @@ -2,4 +2,4 @@ tcfail106.hs:14:10: No instance for (S Int) arising from the superclasses of an instance declaration - In the instance declaration for ‛D Int’ + In the instance declaration for ‘D Int’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail107.stderr b/testsuite/tests/typecheck/should_fail/tcfail107.stderr index b658814776..43d0c2d1fd 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail107.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail107.stderr @@ -1,5 +1,5 @@ tcfail107.hs:13:9: - Type synonym ‛Const’ should have 2 arguments, but has been given 1 - In the type signature for ‛test’: + Type synonym ‘Const’ should have 2 arguments, but has been given 1 + In the type signature for ‘test’: test :: Thing (Const Int) -> Thing (Const Int) diff --git a/testsuite/tests/typecheck/should_fail/tcfail108.stderr b/testsuite/tests/typecheck/should_fail/tcfail108.stderr index e1b8c71824..490640f74b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail108.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail108.stderr @@ -4,4 +4,4 @@ tcfail108.hs:7:10: (Use FlexibleContexts to permit this) In the context: (Eq (f (Rec f))) While checking an instance declaration - In the instance declaration for ‛Eq (Rec f)’ + In the instance declaration for ‘Eq (Rec f)’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail109.stderr b/testsuite/tests/typecheck/should_fail/tcfail109.stderr index 4b59607186..ce8011a5e7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail109.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail109.stderr @@ -2,4 +2,4 @@ tcfail109.hs:16:10: No instance for (Eq Stupid) arising from the superclasses of an instance declaration - In the instance declaration for ‛Collects Bool Stupid’ + In the instance declaration for ‘Collects Bool Stupid’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail110.stderr b/testsuite/tests/typecheck/should_fail/tcfail110.stderr index 840dc29dee..cb60a79d93 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail110.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail110.stderr @@ -1,6 +1,6 @@ tcfail110.hs:8:30: - Expecting one more argument to ‛Foo a’ - Expected a type, but ‛Foo a’ has kind ‛* -> *’ - In the type signature for ‛bar’: + Expecting one more argument to ‘Foo a’ + Expected a type, but ‘Foo a’ has kind ‘* -> *’ + In the type signature for ‘bar’: bar :: String -> (forall a. Foo a) -> IO () diff --git a/testsuite/tests/typecheck/should_fail/tcfail112.stderr b/testsuite/tests/typecheck/should_fail/tcfail112.stderr index 70cd77bca3..a90cdfefe6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail112.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail112.stderr @@ -1,15 +1,15 @@ tcfail112.hs:11:6: - Constructor ‛S’ does not have the required strict field(s): y + Constructor ‘S’ does not have the required strict field(s): y In the expression: S {} - In an equation for ‛s1’: s1 = S {} + In an equation for ‘s1’: s1 = S {} tcfail112.hs:12:6: - Constructor ‛S’ does not have the required strict field(s): y + Constructor ‘S’ does not have the required strict field(s): y In the expression: S {x = 3} - In an equation for ‛s2’: s2 = S {x = 3} + In an equation for ‘s2’: s2 = S {x = 3} tcfail112.hs:14:6: - Constructor ‛T’ does not have the required strict field(s) + Constructor ‘T’ does not have the required strict field(s) In the expression: T {} - In an equation for ‛t’: t = T {} + In an equation for ‘t’: t = T {} diff --git a/testsuite/tests/typecheck/should_fail/tcfail113.stderr b/testsuite/tests/typecheck/should_fail/tcfail113.stderr index f9314f5dcc..8584008cd3 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail113.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail113.stderr @@ -1,14 +1,14 @@ tcfail113.hs:12:7: - Expecting one more argument to ‛Maybe’ - Expected kind ‛*’, but ‛Maybe’ has kind ‛* -> *’ - In the type signature for ‛f’: f :: [Maybe] + Expecting one more argument to ‘Maybe’ + Expected kind ‘*’, but ‘Maybe’ has kind ‘* -> *’ + In the type signature for ‘f’: f :: [Maybe] tcfail113.hs:15:8: - The first argument of ‛T’ should have kind ‛* -> *’, - but ‛Int’ has kind ‛*’ - In the type signature for ‛g’: g :: T Int + The first argument of ‘T’ should have kind ‘* -> *’, + but ‘Int’ has kind ‘*’ + In the type signature for ‘g’: g :: T Int tcfail113.hs:18:6: - ‛Int’ is applied to too many type arguments - In the type signature for ‛h’: h :: Int Int + ‘Int’ is applied to too many type arguments + In the type signature for ‘h’: h :: Int Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail114.stderr b/testsuite/tests/typecheck/should_fail/tcfail114.stderr index 41c8a65cec..0ba84aad71 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail114.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail114.stderr @@ -1,5 +1,5 @@ tcfail114.hs:11:20: - ‛foo’ is not a record selector + ‘foo’ is not a record selector In the expression: undefined {foo = ()} - In an equation for ‛test’: test = undefined {foo = ()} + In an equation for ‘test’: test = undefined {foo = ()} diff --git a/testsuite/tests/typecheck/should_fail/tcfail116.stderr b/testsuite/tests/typecheck/should_fail/tcfail116.stderr index d49438dd97..0fdafcfaba 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail116.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail116.stderr @@ -1,6 +1,6 @@ tcfail116.hs:5:1: - The class method ‛bug’ + The class method ‘bug’ mentions none of the type variables of the class Foo a When checking the class method: bug :: () - In the class declaration for ‛Foo’ + In the class declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail117.stderr b/testsuite/tests/typecheck/should_fail/tcfail117.stderr index 3f2248a61f..e35a2581c8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail117.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail117.stderr @@ -1,13 +1,13 @@ tcfail117.hs:5:32: - Can't make a derived instance of ‛Enum N1’: - ‛N1’ must be an enumeration type + Can't make a derived instance of ‘Enum N1’: + ‘N1’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) Try GeneralizedNewtypeDeriving for GHC's newtype-deriving extension - In the newtype declaration for ‛N1’ + In the newtype declaration for ‘N1’ tcfail117.hs:6:32: - Can't make a derived instance of ‛Enum N2’: - ‛N2’ must be an enumeration type + Can't make a derived instance of ‘Enum N2’: + ‘N2’ must be an enumeration type (an enumeration consists of one or more nullary, non-GADT constructors) - In the data declaration for ‛N2’ + In the data declaration for ‘N2’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail118.stderr b/testsuite/tests/typecheck/should_fail/tcfail118.stderr index 01f6654c9d..098af79736 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail118.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail118.stderr @@ -1,7 +1,7 @@ tcfail118.hs:10:29: Overlapping instances for Eq Foo - arising from the first field of ‛Bar’ (type ‛Foo’) + arising from the first field of ‘Bar’ (type ‘Foo’) Matching instances: instance Eq Foo -- Defined at tcfail118.hs:11:25 instance Eq Foo -- Defined at tcfail118.hs:13:10 diff --git a/testsuite/tests/typecheck/should_fail/tcfail119.stderr b/testsuite/tests/typecheck/should_fail/tcfail119.stderr index 45a1bc7707..5c22aefc4e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail119.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail119.stderr @@ -1,5 +1,5 @@ tcfail119.hs:11:8: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the pattern: "Foo" - In an equation for ‛b’: b x "Foo" = () + In an equation for ‘b’: b x "Foo" = () diff --git a/testsuite/tests/typecheck/should_fail/tcfail121.stderr b/testsuite/tests/typecheck/should_fail/tcfail121.stderr index abad2d4206..bc71d5e79f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail121.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail121.stderr @@ -1,12 +1,12 @@ tcfail121.hs:13:9: - Overlapping instances for Foo [a] arising from a use of ‛op’ + Overlapping instances for Foo [a] arising from a use of ‘op’ Matching instances: instance [overlap ok] Foo a => Foo [a] -- Defined at tcfail121.hs:9:10 instance [overlap ok] Foo [Int] -- Defined at tcfail121.hs:10:10 - (The choice depends on the instantiation of ‛a’ + (The choice depends on the instantiation of ‘a’ To pick the first instance above, use IncoherentInstances when compiling the other instance declarations) In the expression: op x - In an equation for ‛foo’: foo x = op x + In an equation for ‘foo’: foo x = op x diff --git a/testsuite/tests/typecheck/should_fail/tcfail122.stderr b/testsuite/tests/typecheck/should_fail/tcfail122.stderr index 901ceb84d1..b643d585a8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail122.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail122.stderr @@ -11,7 +11,7 @@ tcfail122.hs:8:9: In the expression: [undefined :: forall a b. a b, undefined :: forall (c :: (* -> *) -> *) (d :: * -> *). c d] - In an equation for ‛foo’: + In an equation for ‘foo’: foo = [undefined :: forall a b. a b, undefined :: forall (c :: (* -> *) -> *) (d :: * -> *). c d] diff --git a/testsuite/tests/typecheck/should_fail/tcfail123.stderr b/testsuite/tests/typecheck/should_fail/tcfail123.stderr index 510d1db490..1fcb62d1a3 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail123.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail123.stderr @@ -3,6 +3,6 @@ tcfail123.hs:11:9: Kind incompatibility when matching types:
t0 :: *
GHC.Prim.Int# :: #
- In the first argument of ‛f’, namely ‛3#’
+ In the first argument of ‘f’, namely ‘3#’
In the expression: f 3#
- In an equation for ‛h’: h v = f 3#
+ In an equation for ‘h’: h v = f 3#
diff --git a/testsuite/tests/typecheck/should_fail/tcfail125.stderr b/testsuite/tests/typecheck/should_fail/tcfail125.stderr index 592698f7d4..b3e0720f79 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail125.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail125.stderr @@ -3,9 +3,9 @@ tcfail125.hs:1:14: Warning: -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. tcfail125.hs:11:4: - No instance for (Show a) arising from a use of ‛LiftObs’ + No instance for (Show a) arising from a use of ‘LiftObs’ Possible fix: add (Show a) to the context of the type signature for f :: Obs a -> String In the pattern: LiftObs _ _ - In an equation for ‛f’: f (LiftObs _ _) = "yes" + In an equation for ‘f’: f (LiftObs _ _) = "yes" diff --git a/testsuite/tests/typecheck/should_fail/tcfail127.stderr b/testsuite/tests/typecheck/should_fail/tcfail127.stderr index fb91cfb90d..d05a234010 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail127.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail127.stderr @@ -2,4 +2,4 @@ tcfail127.hs:3:8: Illegal polymorphic or qualified type: Num a => a -> a Perhaps you intended to use ImpredicativeTypes - In the type signature for ‛foo’: foo :: IO (Num a => a -> a) + In the type signature for ‘foo’: foo :: IO (Num a => a -> a) diff --git a/testsuite/tests/typecheck/should_fail/tcfail128.stderr b/testsuite/tests/typecheck/should_fail/tcfail128.stderr index 38ae102d99..b33dffb289 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail128.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail128.stderr @@ -1,11 +1,11 @@ tcfail128.hs:18:16: No instance for (Data.Array.Base.MArray b0 FlatVector IO) - arising from a use of ‛thaw’ - The type variable ‛b0’ is ambiguous + arising from a use of ‘thaw’ + The type variable ‘b0’ is ambiguous Note: there is a potential instance available: instance Data.Array.Base.MArray GHC.IOArray.IOArray e IO - -- Defined in ‛Data.Array.Base’ + -- Defined in ‘Data.Array.Base’ In a stmt of a 'do' block: v <- thaw tmp In the expression: do { let sL = ... @@ -13,7 +13,7 @@ tcfail128.hs:18:16: ....; v <- thaw tmp; return () } - In an equation for ‛main’: + In an equation for ‘main’: main = do { let sL = ... ....; diff --git a/testsuite/tests/typecheck/should_fail/tcfail129.stderr b/testsuite/tests/typecheck/should_fail/tcfail129.stderr index 0bffcbf76f..2c1b4bfb72 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail129.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail129.stderr @@ -1,12 +1,12 @@ tcfail129.hs:12:21: - Type synonym ‛Foo’ should have 1 argument, but has been given none + Type synonym ‘Foo’ should have 1 argument, but has been given none In an expression type signature: Bar Foo In the expression: undefined :: Bar Foo - In an equation for ‛blah’: blah = undefined :: Bar Foo + In an equation for ‘blah’: blah = undefined :: Bar Foo tcfail129.hs:17:22: - Type synonym ‛Foo1’ should have 1 argument, but has been given none + Type synonym ‘Foo1’ should have 1 argument, but has been given none In an expression type signature: Bar1 Foo1 In the expression: undefined :: Bar1 Foo1 - In an equation for ‛blah1’: blah1 = undefined :: Bar1 Foo1 + In an equation for ‘blah1’: blah1 = undefined :: Bar1 Foo1 diff --git a/testsuite/tests/typecheck/should_fail/tcfail130.stderr b/testsuite/tests/typecheck/should_fail/tcfail130.stderr index 37f3614b5f..8e71045bef 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail130.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail130.stderr @@ -1,5 +1,5 @@ tcfail130.hs:10:7: - Unbound implicit parameter (?x::Int) arising from a use of ‛woggle’ + Unbound implicit parameter (?x::Int) arising from a use of ‘woggle’ In the expression: woggle 3 - In an equation for ‛foo’: foo = woggle 3 + In an equation for ‘foo’: foo = woggle 3 diff --git a/testsuite/tests/typecheck/should_fail/tcfail131.stderr b/testsuite/tests/typecheck/should_fail/tcfail131.stderr index da75512b9e..41e8af681f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail131.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail131.stderr @@ -4,10 +4,10 @@ tcfail131.hs:7:9: from the context (Num b) bound by the type signature for g :: Num b => b -> b at tcfail131.hs:6:8-22 - ‛b’ is a rigid type variable bound by + ‘b’ is a rigid type variable bound by the type signature for g :: Num b => b -> b at tcfail131.hs:6:8 Relevant bindings include x :: b (bound at tcfail131.hs:7:5) g :: b -> b (bound at tcfail131.hs:7:3) In the expression: f x x - In an equation for ‛g’: g x = f x x + In an equation for ‘g’: g x = f x x diff --git a/testsuite/tests/typecheck/should_fail/tcfail132.stderr b/testsuite/tests/typecheck/should_fail/tcfail132.stderr index 8440cc89ab..16fee3fbb4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail132.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail132.stderr @@ -1,6 +1,6 @@ tcfail132.hs:17:37: - The first argument of ‛T’ should have kind ‛* -> * -> * -> *’, - but ‛Object f' f t’ has kind ‛* -> * -> *’ - In the type ‛T (Object f' f t) (DUnit t)’ - In the type declaration for ‛LiftObject’ + The first argument of ‘T’ should have kind ‘* -> * -> * -> *’, + but ‘Object f' f t’ has kind ‘* -> * -> *’ + In the type ‘T (Object f' f t) (DUnit t)’ + In the type declaration for ‘LiftObject’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail133.stderr b/testsuite/tests/typecheck/should_fail/tcfail133.stderr index 1d840d4624..8d03d24347 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail133.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail133.stderr @@ -3,8 +3,8 @@ tcfail133.hs:2:61: Warning: -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. tcfail133.hs:68:7: - No instance for (Show s0) arising from a use of ‛show’ - The type variable ‛s0’ is ambiguous + No instance for (Show s0) arising from a use of ‘show’ + The type variable ‘s0’ is ambiguous Note: there are several potential instances: instance Show Zero -- Defined at tcfail133.hs:8:29 instance Show One -- Defined at tcfail133.hs:9:28 @@ -13,14 +13,14 @@ tcfail133.hs:68:7: ...plus 27 others In the expression: show In the expression: show $ add (One :@ Zero) (One :@ One) - In an equation for ‛foo’: + In an equation for ‘foo’: foo = show $ add (One :@ Zero) (One :@ One) tcfail133.hs:68:14: No instance for (AddDigit (Zero :@ (One :@ One)) One s0) - arising from a use of ‛add’ - In the second argument of ‛($)’, namely - ‛add (One :@ Zero) (One :@ One)’ + arising from a use of ‘add’ + In the second argument of ‘($)’, namely + ‘add (One :@ Zero) (One :@ One)’ In the expression: show $ add (One :@ Zero) (One :@ One) - In an equation for ‛foo’: + In an equation for ‘foo’: foo = show $ add (One :@ Zero) (One :@ One) diff --git a/testsuite/tests/typecheck/should_fail/tcfail134.stderr b/testsuite/tests/typecheck/should_fail/tcfail134.stderr index 7ba9620092..b73d2f38a9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail134.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail134.stderr @@ -1,6 +1,6 @@ tcfail134.hs:5:33: - Expecting one more argument to ‛XML’ - Expected a type, but ‛XML’ has kind ‛* -> Constraint’ - In the type ‛a -> XML’ - In the class declaration for ‛XML’ + Expecting one more argument to ‘XML’ + Expected a type, but ‘XML’ has kind ‘* -> Constraint’ + In the type ‘a -> XML’ + In the class declaration for ‘XML’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail135.stderr b/testsuite/tests/typecheck/should_fail/tcfail135.stderr index 33712e3a98..251284365c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail135.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail135.stderr @@ -1,6 +1,6 @@ tcfail135.hs:6:23: - Expecting one more argument to ‛f’ - Expected a type, but ‛f’ has kind ‛k0 -> *’ - In the type ‛f a -> f’ - In the class declaration for ‛Foo’ + Expecting one more argument to ‘f’ + Expected a type, but ‘f’ has kind ‘k0 -> *’ + In the type ‘f a -> f’ + In the class declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail136.stderr b/testsuite/tests/typecheck/should_fail/tcfail136.stderr index c2cb9d9cf8..3d6a520c91 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail136.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail136.stderr @@ -1,7 +1,7 @@ tcfail136.hs:9:35: - Expecting one more argument to ‛SymDict’ - Expected a type, but ‛SymDict’ has kind ‛* -> *’ - In the type ‛SymDict’ - In the definition of data constructor ‛SymTable’ - In the data declaration for ‛SymTable’ + Expecting one more argument to ‘SymDict’ + Expected a type, but ‘SymDict’ has kind ‘* -> *’ + In the type ‘SymDict’ + In the definition of data constructor ‘SymTable’ + In the data declaration for ‘SymTable’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail137.stderr b/testsuite/tests/typecheck/should_fail/tcfail137.stderr index 05890e0b7d..520dcdcc40 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail137.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail137.stderr @@ -3,6 +3,6 @@ tcfail137.hs:1:14: Warning: -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. tcfail137.hs:8:5: - No instance for (Floating Bool) arising from a use of ‛Test’ + No instance for (Floating Bool) arising from a use of ‘Test’ In the expression: Test [False, True] - In an equation for ‛x’: x = Test [False, True] + In an equation for ‘x’: x = Test [False, True] diff --git a/testsuite/tests/typecheck/should_fail/tcfail139.stderr b/testsuite/tests/typecheck/should_fail/tcfail139.stderr index 731181ef71..e97ff3bf8a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail139.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail139.stderr @@ -1,7 +1,7 @@ tcfail139.hs:6:10: - Illegal instance declaration for ‛Bounded Foo’ + Illegal instance declaration for ‘Bounded Foo’ (All instance types must be of the form (T t1 ... tn) where T is not a synonym. Use TypeSynonymInstances if you want to disable this.) - In the instance declaration for ‛Bounded Foo’ + In the instance declaration for ‘Bounded Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail140.stderr b/testsuite/tests/typecheck/should_fail/tcfail140.stderr index 2ed025a870..bb45df3dee 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail140.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail140.stderr @@ -1,38 +1,38 @@ tcfail140.hs:10:7: - Couldn't match expected type ‛a0 -> t’ with actual type ‛Int’ + Couldn't match expected type ‘a0 -> t’ with actual type ‘Int’ Relevant bindings include bar :: t (bound at tcfail140.hs:10:1) - The function ‛f’ is applied to two arguments, - but its type ‛Int -> Int’ has only one + The function ‘f’ is applied to two arguments, + but its type ‘Int -> Int’ has only one In the expression: f 3 9 - In an equation for ‛bar’: bar = f 3 9 + In an equation for ‘bar’: bar = f 3 9 tcfail140.hs:12:10: - Couldn't match expected type ‛a1 -> t1’ with actual type ‛Int’ + Couldn't match expected type ‘a1 -> t1’ with actual type ‘Int’ Relevant bindings include rot :: t -> t1 (bound at tcfail140.hs:12:1) - The operator ‛f’ takes two arguments, - but its type ‛Int -> Int’ has only one + The operator ‘f’ takes two arguments, + but its type ‘Int -> Int’ has only one In the expression: 3 `f` 4 - In an equation for ‛rot’: rot xs = 3 `f` 4 + In an equation for ‘rot’: rot xs = 3 `f` 4 tcfail140.hs:14:15: - Couldn't match expected type ‛a -> b’ with actual type ‛Int’ + Couldn't match expected type ‘a -> b’ with actual type ‘Int’ Relevant bindings include xs :: [a] (bound at tcfail140.hs:14:5) bot :: [a] -> [b] (bound at tcfail140.hs:14:1) - The operator ‛f’ takes two arguments, - but its type ‛Int -> Int’ has only one - In the first argument of ‛map’, namely ‛(3 `f`)’ + The operator ‘f’ takes two arguments, + but its type ‘Int -> Int’ has only one + In the first argument of ‘map’, namely ‘(3 `f`)’ In the expression: map (3 `f`) xs tcfail140.hs:16:8: - Constructor ‛Just’ should have 1 argument, but has been given none + Constructor ‘Just’ should have 1 argument, but has been given none In the pattern: Just In the expression: (\ Just x -> x) :: Maybe a -> a In the expression: ((\ Just x -> x) :: Maybe a -> a) (Just 1) tcfail140.hs:19:1: - Couldn't match expected type ‛t0 -> Bool’ with actual type ‛Int’ - The equation(s) for ‛g’ have two arguments, - but its type ‛Int -> Int’ has only one + Couldn't match expected type ‘t0 -> Bool’ with actual type ‘Int’ + The equation(s) for ‘g’ have two arguments, + but its type ‘Int -> Int’ has only one diff --git a/testsuite/tests/typecheck/should_fail/tcfail142.stderr b/testsuite/tests/typecheck/should_fail/tcfail142.stderr index cd8fd53cef..e2338eb917 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail142.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail142.stderr @@ -1,11 +1,11 @@ tcfail142.hs:18:8: Could not deduce (Bar a0 r) - arising from the ambiguity check for ‛bar’ + arising from the ambiguity check for ‘bar’ from the context (Bar a r) bound by the type signature for bar :: Bar a r => r -> () at tcfail142.hs:18:8-25 - The type variable ‛a0’ is ambiguous + The type variable ‘a0’ is ambiguous In the ambiguity check for: forall r a. Bar a r => r -> () To defer the ambiguity check to use sites, enable AllowAmbiguousTypes - In the type signature for ‛bar’: bar :: Bar a r => r -> () + In the type signature for ‘bar’: bar :: Bar a r => r -> () diff --git a/testsuite/tests/typecheck/should_fail/tcfail143.stderr b/testsuite/tests/typecheck/should_fail/tcfail143.stderr index 7c1cc92d60..394fa43c4e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail143.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail143.stderr @@ -1,5 +1,5 @@ tcfail143.hs:29:9:
- No instance for (MinMax (S Z) Z Z Z) arising from a use of ‛extend’
+ No instance for (MinMax (S Z) Z Z Z) arising from a use of ‘extend’
In the expression: n1 `extend` n0
- In an equation for ‛t2’: t2 = n1 `extend` n0
+ In an equation for ‘t2’: t2 = n1 `extend` n0
diff --git a/testsuite/tests/typecheck/should_fail/tcfail146.stderr b/testsuite/tests/typecheck/should_fail/tcfail146.stderr index b62824e8cb..6d8cb0e5e6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail146.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail146.stderr @@ -1,6 +1,6 @@ tcfail146.hs:7:22: - Expected a type, but ‛SClass a’ has kind ‛Constraint’ - In the type ‛SClass a’ - In the definition of data constructor ‛SCon’ - In the data declaration for ‛SData’ + Expected a type, but ‘SClass a’ has kind ‘Constraint’ + In the type ‘SClass a’ + In the definition of data constructor ‘SCon’ + In the data declaration for ‘SData’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail147.stderr b/testsuite/tests/typecheck/should_fail/tcfail147.stderr index b7e75b06b2..68ec767eed 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail147.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail147.stderr @@ -1,7 +1,7 @@ tcfail147.hs:7:19: - Expecting one more argument to ‛XClass’ - Expected a type, but ‛XClass’ has kind ‛k0 -> Constraint’ - In the type ‛XClass’ - In the definition of data constructor ‛XCon’ - In the data declaration for ‛XData’ + Expecting one more argument to ‘XClass’ + Expected a type, but ‘XClass’ has kind ‘k0 -> Constraint’ + In the type ‘XClass’ + In the definition of data constructor ‘XCon’ + In the data declaration for ‘XData’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail148.stderr b/testsuite/tests/typecheck/should_fail/tcfail148.stderr index cfa81e5b0a..7fc107a616 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail148.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail148.stderr @@ -1,7 +1,7 @@ tcfail148.hs:5:28: - Expecting one more argument to ‛List’ - Expected a type, but ‛List’ has kind ‛* -> *’ - In the type ‛List’ - In the definition of data constructor ‛Cons’ - In the data declaration for ‛List’ + Expecting one more argument to ‘List’ + Expected a type, but ‘List’ has kind ‘* -> *’ + In the type ‘List’ + In the definition of data constructor ‘Cons’ + In the data declaration for ‘List’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail151.stderr b/testsuite/tests/typecheck/should_fail/tcfail151.stderr index d0dd7960b5..3e675c2ef0 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail151.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail151.stderr @@ -3,6 +3,6 @@ tcfail151.hs:1:14: Warning: -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. tcfail151.hs:8:6: - Expecting one more argument to ‛Name a’ - Expected a constraint, but ‛Name a’ has kind ‛* -> Constraint’ - In the data declaration for ‛Exp’ + Expecting one more argument to ‘Name a’ + Expected a constraint, but ‘Name a’ has kind ‘* -> Constraint’ + In the data declaration for ‘Exp’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail152.stderr b/testsuite/tests/typecheck/should_fail/tcfail152.stderr index 507587d072..1db77b0657 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail152.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail152.stderr @@ -1,7 +1,7 @@ tcfail152.hs:10:14: - No instance for (Integral a) arising from a use of ‛toInteger’ + No instance for (Integral a) arising from a use of ‘toInteger’ Possible fix: - add (Integral a) to the context of the data constructor ‛C’ + add (Integral a) to the context of the data constructor ‘C’ In the expression: toInteger x - In an equation for ‛test’: test (C x) = toInteger x + In an equation for ‘test’: test (C x) = toInteger x diff --git a/testsuite/tests/typecheck/should_fail/tcfail153.stderr b/testsuite/tests/typecheck/should_fail/tcfail153.stderr index 50908ec677..80efb9221c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail153.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail153.stderr @@ -1,7 +1,7 @@ tcfail153.hs:6:7: - Couldn't match type ‛a’ with ‛Bool’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘Bool’ + ‘a’ is a rigid type variable bound by the type signature for f :: a -> [a] at tcfail153.hs:5:6 Expected type: [a] Actual type: [Bool] @@ -9,7 +9,7 @@ tcfail153.hs:6:7: x :: a (bound at tcfail153.hs:6:3) f :: a -> [a] (bound at tcfail153.hs:6:1) In the expression: g x - In an equation for ‛f’: + In an equation for ‘f’: f x = g x where diff --git a/testsuite/tests/typecheck/should_fail/tcfail154.stderr b/testsuite/tests/typecheck/should_fail/tcfail154.stderr index 80eba2d790..9014b643df 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail154.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail154.stderr @@ -1,6 +1,6 @@ tcfail154.hs:12:10: - Variable ‛a’ occurs more often than in the instance head + Variable ‘a’ occurs more often than in the instance head in the constraint: C a a (Use UndecidableInstances to permit this) - In the instance declaration for ‛Eq (T a)’ + In the instance declaration for ‘Eq (T a)’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail155.stderr b/testsuite/tests/typecheck/should_fail/tcfail155.stderr index 58426f4150..64583eba33 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail155.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail155.stderr @@ -1,6 +1,6 @@ tcfail155.hs:8:6: - Data constructor ‛P’ returns type ‛L2’ - instead of an instance of its parent type ‛T a’ - In the definition of data constructor ‛P’ - In the data declaration for ‛T’ + Data constructor ‘P’ returns type ‘L2’ + instead of an instance of its parent type ‘T a’ + In the definition of data constructor ‘P’ + In the data declaration for ‘T’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail156.stderr b/testsuite/tests/typecheck/should_fail/tcfail156.stderr index a4d2cbe8a7..280f118f90 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail156.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail156.stderr @@ -2,5 +2,5 @@ tcfail156.hs:7:15: A newtype constructor cannot have existential type variables Foo :: forall a. a -> Foo - In the definition of data constructor ‛Foo’ - In the newtype declaration for ‛Foo’ + In the definition of data constructor ‘Foo’ + In the newtype declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail157.stderr b/testsuite/tests/typecheck/should_fail/tcfail157.stderr index 523d118985..acdc7df8cf 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail157.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail157.stderr @@ -1,12 +1,12 @@ tcfail157.hs:27:10: - Variable ‛b’ occurs more often than in the instance head + Variable ‘b’ occurs more often than in the instance head in the constraint: E m a b (Use UndecidableInstances to permit this) - In the instance declaration for ‛Foo m (a -> ())’ + In the instance declaration for ‘Foo m (a -> ())’ tcfail157.hs:27:10: - Variable ‛b’ occurs more often than in the instance head + Variable ‘b’ occurs more often than in the instance head in the constraint: Foo m b (Use UndecidableInstances to permit this) - In the instance declaration for ‛Foo m (a -> ())’ + In the instance declaration for ‘Foo m (a -> ())’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail158.stderr b/testsuite/tests/typecheck/should_fail/tcfail158.stderr index 47e05a5c77..e359c8bdb2 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail158.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail158.stderr @@ -1,5 +1,5 @@ tcfail158.hs:14:19: - Expecting one more argument to ‛Val v’ - Expected a type, but ‛Val v’ has kind ‛* -> *’ - In the type signature for ‛bar’: bar :: forall v. Val v + Expecting one more argument to ‘Val v’ + Expected a type, but ‘Val v’ has kind ‘* -> *’ + In the type signature for ‘bar’: bar :: forall v. Val v diff --git a/testsuite/tests/typecheck/should_fail/tcfail160.stderr b/testsuite/tests/typecheck/should_fail/tcfail160.stderr index 4d3a01fe17..7a740403d8 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail160.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail160.stderr @@ -1,5 +1,5 @@ tcfail160.hs:7:8: - The first argument of ‛T’ should have kind ‛* -> *’, - but ‛Int’ has kind ‛*’ - In the type signature for ‛g’: g :: T Int + The first argument of ‘T’ should have kind ‘* -> *’, + but ‘Int’ has kind ‘*’ + In the type signature for ‘g’: g :: T Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail161.stderr b/testsuite/tests/typecheck/should_fail/tcfail161.stderr index 79ca81dfaa..90e1c2ec5e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail161.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail161.stderr @@ -1,5 +1,5 @@ tcfail161.hs:5:7: - Expecting one more argument to ‛Maybe’ - Expected kind ‛*’, but ‛Maybe’ has kind ‛* -> *’ - In the type signature for ‛f’: f :: [Maybe] + Expecting one more argument to ‘Maybe’ + Expected kind ‘*’, but ‘Maybe’ has kind ‘* -> *’ + In the type signature for ‘f’: f :: [Maybe] diff --git a/testsuite/tests/typecheck/should_fail/tcfail162.stderr b/testsuite/tests/typecheck/should_fail/tcfail162.stderr index c14956e6b3..3d1e79879b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail162.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail162.stderr @@ -1,7 +1,7 @@ tcfail162.hs:10:33: - Expecting one more argument to ‛ForeignPtr’ - Expected a type, but ‛ForeignPtr’ has kind ‛* -> *’ - In the type ‛ForeignPtr’ - In the definition of data constructor ‛Foo’ - In the data declaration for ‛Foo’ + Expecting one more argument to ‘ForeignPtr’ + Expected a type, but ‘ForeignPtr’ has kind ‘* -> *’ + In the type ‘ForeignPtr’ + In the definition of data constructor ‘Foo’ + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail164.stderr b/testsuite/tests/typecheck/should_fail/tcfail164.stderr index 4a3be9027b..9532466c66 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail164.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail164.stderr @@ -4,12 +4,12 @@ tcfail164.hs:11:5: Specify the type by giving a type signature e.g. (tagToEnum# x) :: Bool In the expression: tagToEnum# 0# - In an equation for ‛f’: f = tagToEnum# 0# + In an equation for ‘f’: f = tagToEnum# 0# tcfail164.hs:17:34: Bad call to tagToEnum# at type Int Result type must be an enumeration type In the expression: tagToEnum# value# - In an equation for ‛readUnboxable’: + In an equation for ‘readUnboxable’: readUnboxable (I# value#) = tagToEnum# value# - In the instance declaration for ‛Unboxable Int’ + In the instance declaration for ‘Unboxable Int’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail165.stderr b/testsuite/tests/typecheck/should_fail/tcfail165.stderr index 09f359f834..2b8b434385 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail165.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail165.stderr @@ -1,9 +1,9 @@ tcfail165.hs:15:23: - Couldn't match expected type ‛forall a. Show a => a -> String’ - with actual type ‛b0 -> String’ - In the second argument of ‛putMVar’, namely - ‛(show :: forall b. Show b => b -> String)’ + Couldn't match expected type ‘forall a. Show a => a -> String’ + with actual type ‘b0 -> String’ + In the second argument of ‘putMVar’, namely + ‘(show :: forall b. Show b => b -> String)’ In a stmt of a 'do' block: putMVar var (show :: forall b. Show b => b -> String) In the expression: diff --git a/testsuite/tests/typecheck/should_fail/tcfail167.stderr b/testsuite/tests/typecheck/should_fail/tcfail167.stderr index 1613d4efad..e20e1cfe7c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail167.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail167.stderr @@ -1,9 +1,9 @@ tcfail167.hs:14:14: - Couldn't match type ‛Char’ with ‛Float’ + Couldn't match type ‘Char’ with ‘Float’ Inaccessible code in a pattern with constructor C2 :: T Float, - in an equation for ‛inaccessible’ + in an equation for ‘inaccessible’ In the pattern: C2 - In an equation for ‛inaccessible’: inaccessible C2 = ' ' + In an equation for ‘inaccessible’: inaccessible C2 = ' ' diff --git a/testsuite/tests/typecheck/should_fail/tcfail168.stderr b/testsuite/tests/typecheck/should_fail/tcfail168.stderr index 4eec056fa3..e8c6c313e1 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail168.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail168.stderr @@ -1,8 +1,8 @@ tcfail168.hs:7:11: - Couldn't match expected type ‛IO a0’ - with actual type ‛Char -> IO ()’ - Probable cause: ‛putChar’ is applied to too few arguments + Couldn't match expected type ‘IO a0’ + with actual type ‘Char -> IO ()’ + Probable cause: ‘putChar’ is applied to too few arguments In a stmt of a 'do' block: putChar In the expression: do { putChar; diff --git a/testsuite/tests/typecheck/should_fail/tcfail169.stderr b/testsuite/tests/typecheck/should_fail/tcfail169.stderr index e1ac2db711..75ae3a41a4 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail169.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail169.stderr @@ -1,7 +1,7 @@ tcfail169.hs:7:51: No instance for (Show (Succ a)) - arising from the second field of ‛Cons’ (type ‛Seq (Succ a)’) + arising from the second field of ‘Cons’ (type ‘Seq (Succ a)’) Possible fix: use a standalone 'deriving instance' declaration, so you can specify the instance context yourself diff --git a/testsuite/tests/typecheck/should_fail/tcfail170.stderr b/testsuite/tests/typecheck/should_fail/tcfail170.stderr index 18a63a7edf..bb952ba374 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail170.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail170.stderr @@ -1,7 +1,7 @@ tcfail170.hs:7:10: - Illegal instance declaration for ‛C [p] [q]’ - The coverage condition fails in class ‛C’ - for functional dependency: ‛a -> b’ - Reason: lhs type ‛[p]’ does not determine rhs type ‛[q]’ - In the instance declaration for ‛C [p] [q]’ + Illegal instance declaration for ‘C [p] [q]’ + The coverage condition fails in class ‘C’ + for functional dependency: ‘a -> b’ + Reason: lhs type ‘[p]’ does not determine rhs type ‘[q]’ + In the instance declaration for ‘C [p] [q]’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail171.stderr b/testsuite/tests/typecheck/should_fail/tcfail171.stderr index e42b06ad08..849ce3aa10 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail171.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail171.stderr @@ -1,8 +1,8 @@ tcfail171.hs:9:10: - No instance for (PrintfArg a) arising from a use of ‛printf’ + No instance for (PrintfArg a) arising from a use of ‘printf’ Possible fix: add (PrintfArg a) to the context of the type signature for phex :: a -> b In the expression: printf "0x%x" x - In an equation for ‛phex’: phex x = printf "0x%x" x + In an equation for ‘phex’: phex x = printf "0x%x" x diff --git a/testsuite/tests/typecheck/should_fail/tcfail173.stderr b/testsuite/tests/typecheck/should_fail/tcfail173.stderr index 2c87b91d1b..70a22c3af9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail173.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail173.stderr @@ -1,4 +1,4 @@ tcfail173.hs:5:12: - Illegal declaration of a type or class operator ‛<.>’ + Illegal declaration of a type or class operator ‘<.>’ Use TypeOperators to declare operators in type and declarations diff --git a/testsuite/tests/typecheck/should_fail/tcfail174.stderr b/testsuite/tests/typecheck/should_fail/tcfail174.stderr index f37bcdf73b..f48d15369e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail174.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail174.stderr @@ -1,13 +1,13 @@ tcfail174.hs:9:10: - Couldn't match expected type ‛forall a. a -> a’ - with actual type ‛a0 -> a0’ - In the first argument of ‛Base’, namely ‛id’ + Couldn't match expected type ‘forall a. a -> a’ + with actual type ‘a0 -> a0’ + In the first argument of ‘Base’, namely ‘id’ In the expression: Base id tcfail174.hs:13:14: - Couldn't match type ‛a’ with ‛a1’ - because type variable ‛a1’ would escape its scope + Couldn't match type ‘a’ with ‘a1’ + because type variable ‘a1’ would escape its scope This (rigid, skolem) type variable is bound by the type forall a2. a2 -> a2 at tcfail174.hs:13:14 @@ -15,18 +15,18 @@ tcfail174.hs:13:14: Actual type: Capture (forall a. a -> a) Relevant bindings include h1 :: Capture a (bound at tcfail174.hs:13:1) - In the first argument of ‛Capture’, namely ‛g’ + In the first argument of ‘Capture’, namely ‘g’ In the expression: Capture g tcfail174.hs:16:14: - Couldn't match type ‛a’ with ‛b’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘b’ + ‘a’ is a rigid type variable bound by the type forall a1. a1 -> a1 at tcfail174.hs:16:14 - ‛b’ is a rigid type variable bound by + ‘b’ is a rigid type variable bound by the type signature for h2 :: Capture b at tcfail174.hs:15:7 Expected type: Capture (forall x. x -> b) Actual type: Capture (forall a. a -> a) Relevant bindings include h2 :: Capture b (bound at tcfail174.hs:16:1) - In the first argument of ‛Capture’, namely ‛g’ + In the first argument of ‘Capture’, namely ‘g’ In the expression: Capture g diff --git a/testsuite/tests/typecheck/should_fail/tcfail175.stderr b/testsuite/tests/typecheck/should_fail/tcfail175.stderr index 6d0c103153..623aab2706 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail175.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail175.stderr @@ -1,10 +1,10 @@ tcfail175.hs:11:1: - Couldn't match expected type ‛String -> String -> String’ - with actual type ‛a’ - ‛a’ is a rigid type variable bound by + Couldn't match expected type ‘String -> String -> String’ + with actual type ‘a’ + ‘a’ is a rigid type variable bound by the type signature for evalRHS :: Int -> a at tcfail175.hs:10:12 Relevant bindings include evalRHS :: Int -> a (bound at tcfail175.hs:11:1) - The equation(s) for ‛evalRHS’ have three arguments, - but its type ‛Int -> a’ has only one + The equation(s) for ‘evalRHS’ have three arguments, + but its type ‘Int -> a’ has only one diff --git a/testsuite/tests/typecheck/should_fail/tcfail176.stderr b/testsuite/tests/typecheck/should_fail/tcfail176.stderr index cb829b43af..35c96d3332 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail176.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail176.stderr @@ -1,6 +1,6 @@ tcfail176.hs:7:21: - Data constructor ‛Bug’ returns type ‛Maybe a’ - instead of an instance of its parent type ‛Bug a’ - In the definition of data constructor ‛Bug’ - In the newtype declaration for ‛Bug’ + Data constructor ‘Bug’ returns type ‘Maybe a’ + instead of an instance of its parent type ‘Bug a’ + In the definition of data constructor ‘Bug’ + In the newtype declaration for ‘Bug’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail177.stderr b/testsuite/tests/typecheck/should_fail/tcfail177.stderr index a2d6e7bac9..54d7331172 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail177.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail177.stderr @@ -1,170 +1,170 @@ tcfail177.hs:10:12: - Couldn't match expected type ‛Bool’ with actual type ‛Int’ + Couldn't match expected type ‘Bool’ with actual type ‘Int’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] - In an equation for ‛allTests’: + In an equation for ‘allTests’: allTests = foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", ....] tcfail177.hs:20:13: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:20:20: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:20:27: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:21:13: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:21:20: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:21:27: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:22:13: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:22:20: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:22:27: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:23:13: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:23:20: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:23:27: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:24:13: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:24:20: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:24:27: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:25:13: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:25:20: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] tcfail177.hs:25:27: - Couldn't match expected type ‛Bool’ with actual type ‛[Char]’ + Couldn't match expected type ‘Bool’ with actual type ‘[Char]’ In the expression: "Two" - In the first argument of ‛foo’, namely - ‛[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ + In the first argument of ‘foo’, namely + ‘[a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....]’ In the expression: foo [a ~?= b, "Three" ~?= "3", "Four" ~?= "4", "Five" ~?= "5", ....] diff --git a/testsuite/tests/typecheck/should_fail/tcfail178.stderr b/testsuite/tests/typecheck/should_fail/tcfail178.stderr index 62af0f9051..7ed00156d6 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail178.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail178.stderr @@ -1,14 +1,14 @@ tcfail178.hs:15:7: - Couldn't match type ‛()’ with ‛[a]’ + Couldn't match type ‘()’ with ‘[a]’ Expected type: Bool -> [a] Actual type: Bool -> () Relevant bindings include c :: [a] (bound at tcfail178.hs:15:1) - In the first argument of ‛a’, namely ‛y’ + In the first argument of ‘a’, namely ‘y’ In the expression: a y tcfail178.hs:18:7: - Couldn't match expected type ‛Bool -> [a]’ with actual type ‛()’ + Couldn't match expected type ‘Bool -> [a]’ with actual type ‘()’ Relevant bindings include d :: [a] (bound at tcfail178.hs:18:1) - In the first argument of ‛a’, namely ‛()’ + In the first argument of ‘a’, namely ‘()’ In the expression: a () diff --git a/testsuite/tests/typecheck/should_fail/tcfail179.stderr b/testsuite/tests/typecheck/should_fail/tcfail179.stderr index db5966f6f9..0fdaeade03 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail179.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail179.stderr @@ -1,17 +1,17 @@ tcfail179.hs:14:39: - Couldn't match expected type ‛s’ with actual type ‛x’ - ‛x’ is a rigid type variable bound by + Couldn't match expected type ‘s’ with actual type ‘x’ + ‘x’ is a rigid type variable bound by a pattern with constructor T :: forall s x. (s -> (x -> s) -> (x, s, Int)) -> T s, in a case alternative at tcfail179.hs:14:14 - ‛s’ is a rigid type variable bound by + ‘s’ is a rigid type variable bound by the type signature for run :: T s -> Int at tcfail179.hs:12:8 Relevant bindings include x :: x (bound at tcfail179.hs:14:26) g :: s -> (x -> s) -> (x, s, Int) (bound at tcfail179.hs:14:16) ts :: T s (bound at tcfail179.hs:13:5) run :: T s -> Int (bound at tcfail179.hs:13:1) - In the first argument of ‛g’, namely ‛x’ + In the first argument of ‘g’, namely ‘x’ In the expression: g x id diff --git a/testsuite/tests/typecheck/should_fail/tcfail180.stderr b/testsuite/tests/typecheck/should_fail/tcfail180.stderr index 8baeb4ed51..7764b7798b 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail180.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail180.stderr @@ -1,6 +1,6 @@ tcfail180.hs:10:9: - Couldn't match expected type ‛f0 b0’ with actual type ‛Bool’ + Couldn't match expected type ‘f0 b0’ with actual type ‘Bool’ In the pattern: True In a case alternative: True -> () In the expression: case p of { True -> () } diff --git a/testsuite/tests/typecheck/should_fail/tcfail181.stderr b/testsuite/tests/typecheck/should_fail/tcfail181.stderr index 5f272da112..905a523174 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail181.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail181.stderr @@ -1,16 +1,16 @@ tcfail181.hs:17:9: - Could not deduce (Monad m0) arising from a use of ‛foo’ + Could not deduce (Monad m0) arising from a use of ‘foo’ from the context (Monad m) bound by the inferred type of wog :: Monad m => t -> Something (m Bool) e at tcfail181.hs:17:1-30 - The type variable ‛m0’ is ambiguous + The type variable ‘m0’ is ambiguous Note: there are several potential instances: - instance Monad ((->) r) -- Defined in ‛GHC.Base’ - instance Monad IO -- Defined in ‛GHC.Base’ - instance Monad [] -- Defined in ‛GHC.Base’ + instance Monad ((->) r) -- Defined in ‘GHC.Base’ + instance Monad IO -- Defined in ‘GHC.Base’ + instance Monad [] -- Defined in ‘GHC.Base’ ...plus one other In the expression: foo In the expression: foo {bar = return True} - In an equation for ‛wog’: wog x = foo {bar = return True} + In an equation for ‘wog’: wog x = foo {bar = return True} diff --git a/testsuite/tests/typecheck/should_fail/tcfail182.stderr b/testsuite/tests/typecheck/should_fail/tcfail182.stderr index ad01d392f0..c242ccf54a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail182.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail182.stderr @@ -1,10 +1,10 @@ tcfail182.hs:9:3: - Couldn't match expected type ‛Prelude.Maybe a’ - with actual type ‛Maybe t0’ - NB: ‛Prelude.Maybe’ is defined in ‛Data.Maybe’ in package ‛base’ - ‛Maybe’ is defined at tcfail182.hs:6:1-18 + Couldn't match expected type ‘Prelude.Maybe a’ + with actual type ‘Maybe t0’ + NB: ‘Prelude.Maybe’ is defined in ‘Data.Maybe’ in package ‘base’ + ‘Maybe’ is defined at tcfail182.hs:6:1-18 Relevant bindings include f :: Prelude.Maybe a -> Int (bound at tcfail182.hs:9:1) In the pattern: Foo - In an equation for ‛f’: f Foo = 3 + In an equation for ‘f’: f Foo = 3 diff --git a/testsuite/tests/typecheck/should_fail/tcfail184.stderr b/testsuite/tests/typecheck/should_fail/tcfail184.stderr index 6efa33726a..8d349cd864 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail184.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail184.stderr @@ -3,5 +3,5 @@ tcfail184.hs:8:19: Illegal polymorphic or qualified type: forall a. Ord a => [a] -> [a] Perhaps you intended to use RankNTypes or Rank2Types - In the definition of data constructor ‛MkSwizzle’ - In the newtype declaration for ‛Swizzle’ + In the definition of data constructor ‘MkSwizzle’ + In the newtype declaration for ‘Swizzle’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail185.stderr b/testsuite/tests/typecheck/should_fail/tcfail185.stderr index 2c39b007d4..785b5d6dd0 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail185.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail185.stderr @@ -1,6 +1,6 @@ tcfail185.hs:7:46: - Couldn't match expected type ‛Int -> Int’ with actual type ‛Bool’ + Couldn't match expected type ‘Int -> Int’ with actual type ‘Bool’ In the expression: x In the expression: let diff --git a/testsuite/tests/typecheck/should_fail/tcfail186.stderr b/testsuite/tests/typecheck/should_fail/tcfail186.stderr index f9ced11d36..1842628e40 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail186.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail186.stderr @@ -1,8 +1,8 @@ tcfail186.hs:7:9: - Couldn't match type ‛[Char]’ with ‛Int’ + Couldn't match type ‘[Char]’ with ‘Int’ Expected type: PhantomSyn a0 Actual type: [Char] - In the first argument of ‛f’, namely ‛"hoo"’ + In the first argument of ‘f’, namely ‘"hoo"’ In the expression: f "hoo" - In an equation for ‛foo’: foo = f "hoo" + In an equation for ‘foo’: foo = f "hoo" diff --git a/testsuite/tests/typecheck/should_fail/tcfail187.stderr b/testsuite/tests/typecheck/should_fail/tcfail187.stderr index 10a9115ff5..799485a69f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail187.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail187.stderr @@ -1,5 +1,5 @@ tcfail187.hs:7:6: - Constructor ‛:::’ should have no arguments, but has been given 2 + Constructor ‘:::’ should have no arguments, but has been given 2 In the pattern: x ::: y - In an equation for ‛foo’: foo (x ::: y) = () + In an equation for ‘foo’: foo (x ::: y) = () diff --git a/testsuite/tests/typecheck/should_fail/tcfail189.stderr b/testsuite/tests/typecheck/should_fail/tcfail189.stderr index fd86dbdf70..69e8b3dbba 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail189.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail189.stderr @@ -1,8 +1,8 @@ tcfail189.hs:10:31: - Couldn't match type ‛[a0]’ with ‛a -> a1’ + Couldn't match type ‘[a0]’ with ‘a -> a1’ Expected type: (a -> a1) -> [a] -> [[a]] Actual type: [a0] -> [a0] - Possible cause: ‛take’ is applied to too many arguments + Possible cause: ‘take’ is applied to too many arguments In the expression: take 2 In a stmt of a list comprehension: then group by x using take 2 diff --git a/testsuite/tests/typecheck/should_fail/tcfail190.stderr b/testsuite/tests/typecheck/should_fail/tcfail190.stderr index df56a79a73..6b5374416e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail190.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail190.stderr @@ -1,6 +1,6 @@ tcfail190.hs:14:31: - No instance for (Ord Unorderable) arising from a use of ‛groupWith’ + No instance for (Ord Unorderable) arising from a use of ‘groupWith’ In the expression: groupWith In a stmt of a list comprehension: then group by x using groupWith In the expression: diff --git a/testsuite/tests/typecheck/should_fail/tcfail191.stderr b/testsuite/tests/typecheck/should_fail/tcfail191.stderr index e82a54af6e..c766699880 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail191.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail191.stderr @@ -1,7 +1,7 @@ tcfail191.hs:11:26: - Couldn't match type ‛a’ with ‛[a]’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘[a]’ + ‘a’ is a rigid type variable bound by a type expected by the context: [a] -> [[a]] at tcfail191.hs:11:9 Expected type: [a] -> [[a]] Actual type: [a] -> [a] diff --git a/testsuite/tests/typecheck/should_fail/tcfail192.stderr b/testsuite/tests/typecheck/should_fail/tcfail192.stderr index b6388c25ed..412aac6b74 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail192.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail192.stderr @@ -1,7 +1,7 @@ tcfail192.hs:10:26: - Couldn't match type ‛a’ with ‛[a]’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘[a]’ + ‘a’ is a rigid type variable bound by a type expected by the context: [a] -> [[a]] at tcfail192.hs:10:9 Expected type: [a] -> [[a]] Actual type: [a] -> [a] diff --git a/testsuite/tests/typecheck/should_fail/tcfail193.stderr b/testsuite/tests/typecheck/should_fail/tcfail193.stderr index 0ae78576c5..6cbf6d81bb 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail193.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail193.stderr @@ -1,7 +1,7 @@ tcfail193.hs:10:31: - Couldn't match type ‛a’ with ‛[a]’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘[a]’ + ‘a’ is a rigid type variable bound by a type expected by the context: [a] -> [a] at tcfail193.hs:10:26 Expected type: [a] -> [a] Actual type: [a] -> [[a]] diff --git a/testsuite/tests/typecheck/should_fail/tcfail194.stderr b/testsuite/tests/typecheck/should_fail/tcfail194.stderr index 1b21e5a616..eeae9d0219 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail194.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail194.stderr @@ -1,9 +1,9 @@ tcfail194.hs:9:29: - Couldn't match type ‛[a0]’ with ‛a -> t’ + Couldn't match type ‘[a0]’ with ‘a -> t’ Expected type: (a -> t) -> [a] -> [a] Actual type: [a0] -> [a0] Relevant bindings include z :: [t] (bound at tcfail194.hs:9:1) - Possible cause: ‛take’ is applied to too many arguments + Possible cause: ‘take’ is applied to too many arguments In the expression: take 5 In a stmt of a list comprehension: then take 5 by x diff --git a/testsuite/tests/typecheck/should_fail/tcfail195.stderr b/testsuite/tests/typecheck/should_fail/tcfail195.stderr index 4800e75642..96d968f8bf 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail195.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail195.stderr @@ -1,5 +1,5 @@ tcfail195.hs:6:3: Illegal polymorphic or qualified type: forall a. a - In the definition of data constructor ‛Foo’ - In the data declaration for ‛Foo’ + In the definition of data constructor ‘Foo’ + In the data declaration for ‘Foo’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail196.stderr b/testsuite/tests/typecheck/should_fail/tcfail196.stderr index ffedbdf1b9..723c91de5e 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail196.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail196.stderr @@ -1,5 +1,5 @@ tcfail196.hs:5:8: Illegal polymorphic or qualified type: forall a. a - In the type signature for ‛bar’: + In the type signature for ‘bar’: bar :: Num (forall a. a) => Int -> Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail197.stderr b/testsuite/tests/typecheck/should_fail/tcfail197.stderr index c2b1602821..35d24e490c 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail197.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail197.stderr @@ -2,4 +2,4 @@ tcfail197.hs:5:8: Illegal polymorphic or qualified type: forall a. a Perhaps you intended to use ImpredicativeTypes - In the type signature for ‛foo’: foo :: [forall a. a] -> Int + In the type signature for ‘foo’: foo :: [forall a. a] -> Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail198.stderr b/testsuite/tests/typecheck/should_fail/tcfail198.stderr index 62e9eeed15..76557906ba 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail198.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail198.stderr @@ -1,7 +1,7 @@ tcfail198.hs:6:36: - Couldn't match expected type ‛a1’ with actual type ‛a’ - because type variable ‛a1’ would escape its scope + Couldn't match expected type ‘a1’ with actual type ‘a’ + because type variable ‘a1’ would escape its scope This (rigid, skolem) type variable is bound by an expression type signature: a1 at tcfail198.hs:6:36-41 @@ -10,4 +10,4 @@ tcfail198.hs:6:36: x :: a (bound at tcfail198.hs:6:19) f3 :: [a] -> [a] (bound at tcfail198.hs:6:6) In the expression: x :: a - In the second argument of ‛(++)’, namely ‛[x :: a]’ + In the second argument of ‘(++)’, namely ‘[x :: a]’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail199.stderr b/testsuite/tests/typecheck/should_fail/tcfail199.stderr index 660e69d04c..4833c769f9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail199.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail199.stderr @@ -1,5 +1,5 @@ tcfail199.hs:5:1: - Couldn't match expected type ‛IO t0’ with actual type ‛[Char]’ + Couldn't match expected type ‘IO t0’ with actual type ‘[Char]’ In the expression: main - When checking the type of the IO action ‛main’ + When checking the type of the IO action ‘main’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail200.stderr b/testsuite/tests/typecheck/should_fail/tcfail200.stderr index e70a55cef9..5a35839689 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail200.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail200.stderr @@ -7,4 +7,4 @@ tcfail200.hs:5:15: x :: (t1, Char) (bound at tcfail200.hs:5:9) In the expression: 1# In the expression: (1#, 'c') - In an equation for ‛x’: x = (1#, 'c') + In an equation for ‘x’: x = (1#, 'c') diff --git a/testsuite/tests/typecheck/should_fail/tcfail201.stderr b/testsuite/tests/typecheck/should_fail/tcfail201.stderr index 23d22744eb..a029e8c6d3 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail201.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail201.stderr @@ -1,7 +1,7 @@ tcfail201.hs:17:27: - Couldn't match expected type ‛a’ with actual type ‛HsDoc t0’ - ‛a’ is a rigid type variable bound by + Couldn't match expected type ‘a’ with actual type ‘HsDoc t0’ + ‘a’ is a rigid type variable bound by the type signature for gfoldl' :: (forall a1 b. c (a1 -> b) -> a1 -> c b) -> (forall g. g -> c g) -> a -> c a diff --git a/testsuite/tests/typecheck/should_fail/tcfail203.stderr b/testsuite/tests/typecheck/should_fail/tcfail203.stderr index e1a00c3018..21454e345d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail203.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail203.stderr @@ -2,7 +2,7 @@ tcfail203.hs:28:11: Pattern bindings containing unlifted types should use an outermost bang pattern: (I# x) = 5 - In an equation for ‛fail2’: + In an equation for ‘fail2’: fail2 = 'a' where @@ -11,7 +11,7 @@ tcfail203.hs:28:11: tcfail203.hs:31:11: Pattern bindings containing unlifted types should use an outermost bang pattern: (b, I# x) = (True, 5) - In an equation for ‛fail3’: + In an equation for ‘fail3’: fail3 = 'a' where @@ -20,7 +20,7 @@ tcfail203.hs:31:11: tcfail203.hs:40:11: Pattern bindings containing unlifted types should use an outermost bang pattern: (I# !x) = 5 - In an equation for ‛fail6’: + In an equation for ‘fail6’: fail6 = 'a' where @@ -29,7 +29,7 @@ tcfail203.hs:40:11: tcfail203.hs:43:11: Pattern bindings containing unlifted types should use an outermost bang pattern: (b, !(I# x)) = (True, 5) - In an equation for ‛fail7’: + In an equation for ‘fail7’: fail7 = 'a' where diff --git a/testsuite/tests/typecheck/should_fail/tcfail204.stderr b/testsuite/tests/typecheck/should_fail/tcfail204.stderr index 0834428783..66d7269262 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail204.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail204.stderr @@ -1,12 +1,12 @@ tcfail204.hs:10:7: Warning: - Defaulting the following constraint(s) to type ‛Double’ + Defaulting the following constraint(s) to type ‘Double’ (RealFrac a0) - arising from a use of ‛ceiling’ at tcfail204.hs:10:7-13 + arising from a use of ‘ceiling’ at tcfail204.hs:10:7-13 (Fractional a0) - arising from the literal ‛6.3’ at tcfail204.hs:10:15-17 + arising from the literal ‘6.3’ at tcfail204.hs:10:15-17 In the expression: ceiling 6.3 - In an equation for ‛foo’: foo = ceiling 6.3 + In an equation for ‘foo’: foo = ceiling 6.3 <no location info>: Failing due to -Werror. diff --git a/testsuite/tests/typecheck/should_fail/tcfail206.stderr b/testsuite/tests/typecheck/should_fail/tcfail206.stderr index 5a30f93e81..4fe402982a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail206.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail206.stderr @@ -1,50 +1,50 @@ tcfail206.hs:5:5:
- Couldn't match type ‛Bool’ with ‛Int’
+ Couldn't match type ‘Bool’ with ‘Int’
Expected type: Bool -> (Int, Bool)
Actual type: Bool -> (Bool, Bool)
In the expression: (, True)
- In an equation for ‛a’: a = (, True)
+ In an equation for ‘a’: a = (, True)
tcfail206.hs:8:5:
- Couldn't match type ‛(t0, Int)’ with ‛Bool -> (Int, Bool)’
+ Couldn't match type ‘(t0, Int)’ with ‘Bool -> (Int, Bool)’
Expected type: Int -> Bool -> (Int, Bool)
Actual type: Int -> (t0, Int)
In the expression: (1,)
- In an equation for ‛b’: b = (1,)
+ In an equation for ‘b’: b = (1,)
tcfail206.hs:11:5:
- Couldn't match type ‛a’ with ‛Bool’
- ‛a’ is a rigid type variable bound by
+ Couldn't match type ‘a’ with ‘Bool’
+ ‘a’ is a rigid type variable bound by
the type signature for c :: a -> (a, Bool) at tcfail206.hs:10:6
Expected type: a -> (a, Bool)
Actual type: a -> (a, a)
Relevant bindings include
c :: a -> (a, Bool) (bound at tcfail206.hs:11:1)
In the expression: (True || False,)
- In an equation for ‛c’: c = (True || False,)
+ In an equation for ‘c’: c = (True || False,)
tcfail206.hs:14:5:
- Couldn't match type ‛Bool’ with ‛Int’
+ Couldn't match type ‘Bool’ with ‘Int’
Expected type: Bool -> (# Int, Bool #)
Actual type: Bool -> (# Bool, Bool #)
In the expression: (# , True #)
- In an equation for ‛d’: d = (# , True #)
+ In an equation for ‘d’: d = (# , True #)
tcfail206.hs:17:5:
- Couldn't match type ‛(# a0, Int #)’ with ‛Bool -> (# Int, Bool #)’
+ Couldn't match type ‘(# a0, Int #)’ with ‘Bool -> (# Int, Bool #)’
Expected type: Int -> Bool -> (# Int, Bool #)
Actual type: Int -> (# a0, Int #)
In the expression: (# 1, #)
- In an equation for ‛e’: e = (# 1, #)
+ In an equation for ‘e’: e = (# 1, #)
tcfail206.hs:20:5:
- Couldn't match type ‛a’ with ‛Bool’
- ‛a’ is a rigid type variable bound by
+ Couldn't match type ‘a’ with ‘Bool’
+ ‘a’ is a rigid type variable bound by
the type signature for f :: a -> (# a, Bool #) at tcfail206.hs:19:6
Expected type: a -> (# a, Bool #)
Actual type: a -> (# a, a #)
Relevant bindings include
f :: a -> (# a, Bool #) (bound at tcfail206.hs:20:1)
In the expression: (# True || False, #)
- In an equation for ‛f’: f = (# True || False, #)
+ In an equation for ‘f’: f = (# True || False, #)
diff --git a/testsuite/tests/typecheck/should_fail/tcfail207.stderr b/testsuite/tests/typecheck/should_fail/tcfail207.stderr index 3263589203..986d7d5740 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail207.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail207.stderr @@ -1,14 +1,14 @@ tcfail207.hs:5:7: - Couldn't match expected type ‛[Int] -> [Int]’ - with actual type ‛[a1]’ - Possible cause: ‛take’ is applied to too many arguments + Couldn't match expected type ‘[Int] -> [Int]’ + with actual type ‘[a1]’ + Possible cause: ‘take’ is applied to too many arguments In the expression: take x [] - In an equation for ‛f’: f x = take x [] + In an equation for ‘f’: f x = take x [] tcfail207.hs:9:5: - Couldn't match expected type ‛[Int]’ - with actual type ‛[a0] -> [a0]’ - Probable cause: ‛take’ is applied to too few arguments + Couldn't match expected type ‘[Int]’ + with actual type ‘[a0] -> [a0]’ + Probable cause: ‘take’ is applied to too few arguments In the expression: take 3 - In an equation for ‛g’: g = take 3 + In an equation for ‘g’: g = take 3 diff --git a/testsuite/tests/typecheck/should_fail/tcfail208.stderr b/testsuite/tests/typecheck/should_fail/tcfail208.stderr index 7419e90c52..c83c63be3f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail208.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail208.stderr @@ -1,9 +1,9 @@ tcfail208.hs:4:19: - Could not deduce (Eq (m a)) arising from a use of ‛==’ + Could not deduce (Eq (m a)) arising from a use of ‘==’ from the context (Monad m, Eq a) bound by the type signature for f :: (Monad m, Eq a) => a -> m a -> Bool at tcfail208.hs:3:6-40 In the expression: (return x == y) - In an equation for ‛f’: f x y = (return x == y) + In an equation for ‘f’: f x y = (return x == y) diff --git a/testsuite/tests/typecheck/should_fail/tcfail209.stderr b/testsuite/tests/typecheck/should_fail/tcfail209.stderr index 7e7e2bd19a..d9a9ca37ae 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail209.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail209.stderr @@ -1,5 +1,5 @@ tcfail209.hs:3:1: - Illegal constraint synonym of kind: ‛* -> Constraint’ + Illegal constraint synonym of kind: ‘* -> Constraint’ (Use ConstraintKinds to permit this) - In the type declaration for ‛Showish’ + In the type declaration for ‘Showish’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail209a.stderr b/testsuite/tests/typecheck/should_fail/tcfail209a.stderr index 25721019c7..446d76f421 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail209a.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail209a.stderr @@ -2,5 +2,5 @@ tcfail209a.hs:3:6: Illegal tuple constraint: (Show a, Num a) (Use ConstraintKinds to permit this) - In the type signature for ‛g’: + In the type signature for ‘g’: g :: ((Show a, Num a), Eq a) => a -> a diff --git a/testsuite/tests/typecheck/should_fail/tcfail210.stderr b/testsuite/tests/typecheck/should_fail/tcfail210.stderr index 9b998d425e..9df9b7ef8f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail210.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail210.stderr @@ -1,3 +1,3 @@ tcfail210.hs:4:31: - Not in scope: type constructor or class ‛Constraint’ + Not in scope: type constructor or class ‘Constraint’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail211.stderr b/testsuite/tests/typecheck/should_fail/tcfail211.stderr index 491349b123..191805298a 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail211.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail211.stderr @@ -1,6 +1,6 @@ tcfail211.hs:16:13: - Unbound implicit parameter (?imp::Int) arising from a use of ‛test’ - In the first argument of ‛print’, namely ‛test’ + Unbound implicit parameter (?imp::Int) arising from a use of ‘test’ + In the first argument of ‘print’, namely ‘test’ In the expression: print test - In an equation for ‛use’: use = print test + In an equation for ‘use’: use = print test diff --git a/testsuite/tests/typecheck/should_fail/tcfail212.stderr b/testsuite/tests/typecheck/should_fail/tcfail212.stderr index b116fd1d95..72e5fe8104 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail212.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail212.stderr @@ -1,10 +1,10 @@ tcfail212.hs:10:7: - Expecting one more argument to ‛Maybe’ - The first argument of a tuple should have kind ‛*’, - but ‛Maybe’ has kind ‛* -> *’ - In the type signature for ‛f’: f :: (Maybe, Either Int) + Expecting one more argument to ‘Maybe’ + The first argument of a tuple should have kind ‘*’, + but ‘Maybe’ has kind ‘* -> *’ + In the type signature for ‘f’: f :: (Maybe, Either Int) tcfail212.hs:13:7: - Expecting a lifted type, but ‛Int#’ is unlifted - In the type signature for ‛g’: g :: (Int#, Int#) + Expecting a lifted type, but ‘Int#’ is unlifted + In the type signature for ‘g’: g :: (Int#, Int#) diff --git a/testsuite/tests/typecheck/should_fail/tcfail213.stderr b/testsuite/tests/typecheck/should_fail/tcfail213.stderr index 14c330be87..f54379481f 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail213.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail213.stderr @@ -1,7 +1,7 @@ tcfail213.hs:8:1: - Illegal constraint ‛F a’ in a superclass/instance context + Illegal constraint ‘F a’ in a superclass/instance context (Use UndecidableInstances to permit this) In the context: (F a) - While checking the super-classes of class ‛C’ - In the class declaration for ‛C’ + While checking the super-classes of class ‘C’ + In the class declaration for ‘C’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail214.stderr b/testsuite/tests/typecheck/should_fail/tcfail214.stderr index f3d90784db..93101f45cc 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail214.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail214.stderr @@ -1,7 +1,7 @@ tcfail214.hs:9:10: - Illegal constraint ‛F a’ in a superclass/instance context + Illegal constraint ‘F a’ in a superclass/instance context (Use UndecidableInstances to permit this) In the context: (F a) While checking an instance declaration - In the instance declaration for ‛C [a]’ + In the instance declaration for ‘C [a]’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail215.stderr b/testsuite/tests/typecheck/should_fail/tcfail215.stderr index a9fe4da24e..d7fa2d84f7 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail215.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail215.stderr @@ -1,4 +1,4 @@ tcfail215.hs:8:15: - Expecting a lifted type, but ‛Int#’ is unlifted - In the type signature for ‛foo’: foo :: ?x :: Int# => Int + Expecting a lifted type, but ‘Int#’ is unlifted + In the type signature for ‘foo’: foo :: ?x :: Int# => Int diff --git a/testsuite/tests/typecheck/should_fail/tcfail216.stderr b/testsuite/tests/typecheck/should_fail/tcfail216.stderr index 11b077e7e1..d354867480 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail216.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail216.stderr @@ -1,4 +1,4 @@ tcfail216.hs:5:1: Cycle in class declaration (via superclasses): A -> A - In the class declaration for ‛A’ + In the class declaration for ‘A’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail217.stderr b/testsuite/tests/typecheck/should_fail/tcfail217.stderr index 64584169e9..c51b97d8b5 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail217.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail217.stderr @@ -1,4 +1,4 @@ tcfail217.hs:7:1: Cycle in class declaration (via superclasses): A -> Aish -> A - In the class declaration for ‛A’ + In the class declaration for ‘A’ diff --git a/testsuite/tests/typecheck/should_fail/tcfail218.stderr b/testsuite/tests/typecheck/should_fail/tcfail218.stderr index 2afa201652..7978004387 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail218.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail218.stderr @@ -1,11 +1,11 @@ tcfail218.hs:10:5: - Overlapping instances for C [a] b arising from a use of ‛foo’ + Overlapping instances for C [a] b arising from a use of ‘foo’ Matching instances: instance [incoherent] C [a] b -- Defined at tcfail218.hs:5:10 instance C [Int] b -- Defined at Tcfail218_Help.hs:7:10 - (The choice depends on the instantiation of ‛a, b’ + (The choice depends on the instantiation of ‘a, b’ To pick the first instance above, use IncoherentInstances when compiling the other instance declarations) In the expression: foo - In an equation for ‛x’: x = foo + In an equation for ‘x’: x = foo diff --git a/testsuite/tests/typecheck/should_run/T7861.stderr b/testsuite/tests/typecheck/should_run/T7861.stderr index 4f2b6230b0..b3e3140edc 100644 --- a/testsuite/tests/typecheck/should_run/T7861.stderr +++ b/testsuite/tests/typecheck/should_run/T7861.stderr @@ -1,10 +1,10 @@ T7861: T7861.hs:11:5: - Couldn't match type ‛a’ with ‛[a]’ - ‛a’ is a rigid type variable bound by + Couldn't match type ‘a’ with ‘[a]’ + ‘a’ is a rigid type variable bound by the type signature for f :: A a -> a at T7861.hs:10:6 Expected type: A a -> a Actual type: A a -> [a] Relevant bindings include f :: A a -> a (bound at T7861.hs:11:1) In the expression: doA - In an equation for ‛f’: f = doA + In an equation for ‘f’: f = doA (deferred type error) diff --git a/testsuite/tests/typecheck/should_run/tcrun035.stderr b/testsuite/tests/typecheck/should_run/tcrun035.stderr index 9c7a3c7488..2eed11d2f3 100644 --- a/testsuite/tests/typecheck/should_run/tcrun035.stderr +++ b/testsuite/tests/typecheck/should_run/tcrun035.stderr @@ -1,11 +1,11 @@ tcrun035.hs:13:7: - Couldn't match type ‛IO a’ - with ‛forall (m :: * -> *). Monad m => m a’ + Couldn't match type ‘IO a’ + with ‘forall (m :: * -> *). Monad m => m a’ Expected type: (forall (m :: * -> *). Monad m => m a) -> IO a Actual type: IO a -> IO a Relevant bindings include foo :: (forall (m :: * -> *). Monad m => m a) -> IO a (bound at tcrun035.hs:13:1) In the expression: id . id - In an equation for ‛foo’: foo = id . id + In an equation for ‘foo’: foo = id . id diff --git a/testsuite/tests/warnings/minimal/WarnMinimal.stderr b/testsuite/tests/warnings/minimal/WarnMinimal.stderr index 09db27bc5a..d07eee875a 100644 --- a/testsuite/tests/warnings/minimal/WarnMinimal.stderr +++ b/testsuite/tests/warnings/minimal/WarnMinimal.stderr @@ -1,54 +1,54 @@ WarnMinimal.hs:16:10: Warning: No explicit implementation for - either ‛foo1’ or ‛foo2’ - In the instance declaration for ‛Foo Int’ + either ‘foo1’ or ‘foo2’ + In the instance declaration for ‘Foo Int’ WarnMinimal.hs:60:10: Warning: No explicit implementation for - either ‛join'’ or ‛bind'’ - In the instance declaration for ‛Monad' ((->) e)’ + either ‘join'’ or ‘bind'’ + In the instance declaration for ‘Monad' ((->) e)’ WarnMinimal.hs:66:10: Warning: No explicit implementation for - ‛return'’ - In the instance declaration for ‛Monad' Id’ + ‘return'’ + In the instance declaration for ‘Monad' Id’ WarnMinimal.hs:72:10: Warning: No explicit implementation for - ‛return'’ - In the instance declaration for ‛Monad' Id2’ + ‘return'’ + In the instance declaration for ‘Monad' Id2’ WarnMinimal.hs:79:10: Warning: No explicit implementation for - ‛return'’ and (either (‛fmap'’ and ‛join'’) or ‛bind'’) - In the instance declaration for ‛Monad' Id3’ + ‘return'’ and (either (‘fmap'’ and ‘join'’) or ‘bind'’) + In the instance declaration for ‘Monad' Id3’ WarnMinimal.hs:84:1: Warning: The MINIMAL pragma does not require: - ‛cheater’ + ‘cheater’ but there is no default implementation. - In the class declaration for ‛Cheater’ + In the class declaration for ‘Cheater’ WarnMinimal.hs:92:1: Warning: The MINIMAL pragma does not require: - ‛cheater3b’ + ‘cheater3b’ but there is no default implementation. - In the class declaration for ‛Cheater3’ + In the class declaration for ‘Cheater3’ WarnMinimal.hs:99:10: Warning: No explicit implementation for - ‛+’, ‛*’, ‛abs’, ‛signum’, ‛fromInteger’, and (either ‛negate’ + ‘+’, ‘*’, ‘abs’, ‘signum’, ‘fromInteger’, and (either ‘negate’ or - ‛-’) - In the instance declaration for ‛Num Bool’ + ‘-’) + In the instance declaration for ‘Num Bool’ WarnMinimal.hs:105:10: Warning: No explicit implementation for - ‛needed’ - In the instance declaration for ‛NoExplicit Int’ + ‘needed’ + In the instance declaration for ‘NoExplicit Int’ WarnMinimal.hs:116:10: Warning: No explicit implementation for - either ‛===’ or ‛/==’ - In the instance declaration for ‛Eq' Blarg’ + either ‘===’ or ‘/==’ + In the instance declaration for ‘Eq' Blarg’ diff --git a/testsuite/tests/warnings/minimal/WarnMinimalFail2.stderr b/testsuite/tests/warnings/minimal/WarnMinimalFail2.stderr index 2648b47183..70584cdf28 100644 --- a/testsuite/tests/warnings/minimal/WarnMinimalFail2.stderr +++ b/testsuite/tests/warnings/minimal/WarnMinimalFail2.stderr @@ -1,3 +1,3 @@ WarnMinimalFail2.hs:8:15: - ‛global’ is not a (visible) method of class ‛Foo’ + ‘global’ is not a (visible) method of class ‘Foo’ diff --git a/testsuite/tests/warnings/minimal/WarnMinimalFail3.stderr b/testsuite/tests/warnings/minimal/WarnMinimalFail3.stderr index 511117595c..3b2616b60d 100644 --- a/testsuite/tests/warnings/minimal/WarnMinimalFail3.stderr +++ b/testsuite/tests/warnings/minimal/WarnMinimalFail3.stderr @@ -1,3 +1,3 @@ WarnMinimalFail3.hs:12:15: - ‛parent’ is not a (visible) method of class ‛Child’ + ‘parent’ is not a (visible) method of class ‘Child’ |