summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedlists/should_fail
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/overloadedlists/should_fail')
-rw-r--r--testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr4
-rw-r--r--testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr14
2 files changed, 9 insertions, 9 deletions
diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr
index b1a7b24ba5..f6717a6df8 100644
--- a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr
+++ b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr
@@ -1,12 +1,12 @@
overloadedlistsfail02.hs:6:8: error:
- • No instance for (GHC.IsList.IsList Foo)
+ • No instance for ‘GHC.IsList.IsList Foo’
arising from an overloaded list
• In the expression: [7]
In an equation for ‘test’: test = [7]
overloadedlistsfail02.hs:6:9: error:
- • No instance for (Num (GHC.IsList.Item Foo))
+ • No instance for ‘Num (GHC.IsList.Item Foo)’
arising from the literal ‘7’
• In the expression: 7
In the expression: [7]
diff --git a/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr b/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail04.stderr
index 93811d40c7..5a5f3915a9 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])’
- In the expression: print (["a" .. "b"] :: [String])
- In an equation for ‘main’: main = print (["a" .. "b"] :: [String])
+overloadedlistsfail04.hs:3:15: error:
+ • No instance for ‘Enum [Char]’
+ 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])