diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-24 14:48:43 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-24 14:48:43 +0000 |
commit | d6588276e819f088e29a6c16ba0a0c82acfd05cc (patch) | |
tree | fb9d06e18d8ad31733117c08ff4954e7a8b27b04 /testsuite/tests/annotations/should_fail | |
parent | 11237cf673876f6ef85918383cb46b8b1e8ca099 (diff) | |
download | haskell-d6588276e819f088e29a6c16ba0a0c82acfd05cc.tar.gz |
Update outputs following the unicode quote change in GHC's output
Diffstat (limited to 'testsuite/tests/annotations/should_fail')
10 files changed, 29 insertions, 26 deletions
diff --git a/testsuite/tests/annotations/should_fail/annfail01.stderr b/testsuite/tests/annotations/should_fail/annfail01.stderr index 70553f983f..160575cf92 100644 --- a/testsuite/tests/annotations/should_fail/annfail01.stderr +++ b/testsuite/tests/annotations/should_fail/annfail01.stderr @@ -1,4 +1,4 @@ -annfail01.hs:4:1: Not in scope: type constructor or class `Foo' +annfail01.hs:4:1: Not in scope: type constructor or class ‛Foo’ -annfail01.hs:5:1: Not in scope: `f' +annfail01.hs:5:1: Not in scope: ‛f’ diff --git a/testsuite/tests/annotations/should_fail/annfail02.stderr b/testsuite/tests/annotations/should_fail/annfail02.stderr index 83d54f9840..21f7aff821 100644 --- a/testsuite/tests/annotations/should_fail/annfail02.stderr +++ b/testsuite/tests/annotations/should_fail/annfail02.stderr @@ -1,4 +1,4 @@ -annfail02.hs:6:1: Not in scope: data constructor `Foo' +annfail02.hs:6:1: Not in scope: data constructor ‛Foo’ -annfail02.hs:7:1: Not in scope: type constructor or class `Bar' +annfail02.hs:7:1: Not in scope: type constructor or class ‛Bar’ diff --git a/testsuite/tests/annotations/should_fail/annfail03.stderr b/testsuite/tests/annotations/should_fail/annfail03.stderr index a7be7feb93..9c15855076 100644 --- a/testsuite/tests/annotations/should_fail/annfail03.stderr +++ b/testsuite/tests/annotations/should_fail/annfail03.stderr @@ -1,7 +1,8 @@ annfail03.hs:17:1: - GHC stage restriction: instance for `Data InModule' - is used in a top-level splice or annotation, + GHC stage restriction: + instance for ‛Data + InModule’ is used in a top-level splice or annotation, and must be imported, not defined locally In the expression: InModule 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 dcbe0e7945..9d7bf39778 100644 --- a/testsuite/tests/annotations/should_fail/annfail04.stderr +++ b/testsuite/tests/annotations/should_fail/annfail04.stderr @@ -1,7 +1,8 @@ annfail04.hs:14:12: - GHC stage restriction: instance for `Thing Int' - is used in a top-level splice or annotation, + GHC stage restriction: + instance for ‛Thing + Int’ is used in a top-level splice or annotation, and must be imported, not defined locally In the expression: (thing :: Int) 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 c5082c386e..aec329d5fa 100644 --- a/testsuite/tests/annotations/should_fail/annfail06.stderr +++ b/testsuite/tests/annotations/should_fail/annfail06.stderr @@ -1,7 +1,8 @@ annfail06.hs:21:1: - GHC stage restriction: instance for `Data InstancesInWrongModule' - is used in a top-level splice or annotation, + GHC stage restriction: + instance for ‛Data + InstancesInWrongModule’ is used in a top-level splice or annotation, and must be imported, not defined locally In the expression: InstancesInWrongModule 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 01f4b62c45..678a1609ec 100644 --- a/testsuite/tests/annotations/should_fail/annfail07.stderr +++ b/testsuite/tests/annotations/should_fail/annfail07.stderr @@ -1,6 +1,6 @@ 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 expression: (head 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 df18d002ee..b9023476f0 100644 --- a/testsuite/tests/annotations/should_fail/annfail08.stderr +++ b/testsuite/tests/annotations/should_fail/annfail08.stderr @@ -6,6 +6,6 @@ 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 expression: (id + 1) 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 5eae63a012..4bddab8dd0 100644 --- a/testsuite/tests/annotations/should_fail/annfail09.stderr +++ b/testsuite/tests/annotations/should_fail/annfail09.stderr @@ -1,7 +1,7 @@ annfail09.hs:11:11: - GHC stage restriction: `g' - is used in a top-level splice or annotation, + GHC stage restriction: + ‛g’ is used in a top-level splice or annotation, and must be imported, not defined locally In the expression: g 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 c5b0356892..0fd7859ef7 100644 --- a/testsuite/tests/annotations/should_fail/annfail10.stderr +++ b/testsuite/tests/annotations/should_fail/annfail10.stderr @@ -1,27 +1,27 @@ 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 27 others In the expression: 1 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 expression: 1 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 18769f7466..39ff0e82eb 100644 --- a/testsuite/tests/annotations/should_fail/annfail11.stderr +++ b/testsuite/tests/annotations/should_fail/annfail11.stderr @@ -1,4 +1,4 @@ -annfail11.hs:3:1: Not in scope: `length' +annfail11.hs:3:1: Not in scope: ‛length’ -annfail11.hs:4:1: Not in scope: type constructor or class `Integer' +annfail11.hs:4:1: Not in scope: type constructor or class ‛Integer’ |