summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedlists
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-24 14:48:43 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-24 14:48:43 +0000
commitd6588276e819f088e29a6c16ba0a0c82acfd05cc (patch)
treefb9d06e18d8ad31733117c08ff4954e7a8b27b04 /testsuite/tests/overloadedlists
parent11237cf673876f6ef85918383cb46b8b1e8ca099 (diff)
downloadhaskell-d6588276e819f088e29a6c16ba0a0c82acfd05cc.tar.gz
Update outputs following the unicode quote change in GHC's output
Diffstat (limited to 'testsuite/tests/overloadedlists')
-rw-r--r--testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr32
-rw-r--r--testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr6
-rw-r--r--testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr9
-rw-r--r--testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr12
-rw-r--r--testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr8
-rw-r--r--testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr7
6 files changed, 32 insertions, 42 deletions
diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail01.stderr
index a08985f88e..cc1082c7de 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 23 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 49e6b9ee93..62f8a0e0bd 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 099d79f233..cd8cbff032 100644
--- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr
+++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail03.stderr
@@ -1,9 +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 cfa051997a..145c6cd1fe 100644
--- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr
+++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr
@@ -1,12 +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 6e4d3dbd04..131294b138 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 2cd0c3fa1a..239465670f 100644
--- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr
+++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail06.stderr
@@ -1,7 +1,4 @@
-overloadedlistsfail06.hs:3:3:
- Not in scope: `toList'
-
-overloadedlistsfail06.hs:3:8:
- Not in scope: `fromListN'
+overloadedlistsfail06.hs:3:3: Not in scope: ‛toList’
+overloadedlistsfail06.hs:3:8: Not in scope: ‛fromListN’