summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_fail
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/annotations/should_fail')
-rw-r--r--testsuite/tests/annotations/should_fail/annfail01.stderr4
-rw-r--r--testsuite/tests/annotations/should_fail/annfail02.stderr4
-rw-r--r--testsuite/tests/annotations/should_fail/annfail03.stderr2
-rw-r--r--testsuite/tests/annotations/should_fail/annfail04.stderr2
-rw-r--r--testsuite/tests/annotations/should_fail/annfail06.stderr2
-rw-r--r--testsuite/tests/annotations/should_fail/annfail07.stderr4
-rw-r--r--testsuite/tests/annotations/should_fail/annfail08.stderr2
-rw-r--r--testsuite/tests/annotations/should_fail/annfail09.stderr2
-rw-r--r--testsuite/tests/annotations/should_fail/annfail10.stderr18
-rw-r--r--testsuite/tests/annotations/should_fail/annfail11.stderr4
-rw-r--r--testsuite/tests/annotations/should_fail/annfail13.stderr2
11 files changed, 23 insertions, 23 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’