summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail104.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail104.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail104.stderr24
1 files changed, 14 insertions, 10 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail104.stderr b/testsuite/tests/typecheck/should_fail/tcfail104.stderr
index cb14d9af26..b6c21e5e82 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail104.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail104.stderr
@@ -1,12 +1,16 @@
-tcfail104.hs:16:19:
- 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:14:15: error:
+ • Couldn't match expected type ‘forall a. a -> a’
+ with actual type ‘Char -> Char’
+ • When checking that the pattern signature: forall a. a -> a
+ fits the type of its context: Char -> Char
+ In the pattern: x :: forall a. a -> a
+ In the expression: (\ (x :: forall a. a -> a) -> x)
-tcfail104.hs:22:39:
- 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)
+tcfail104.hs:22:15: error:
+ • Couldn't match expected type ‘forall a. a -> a’
+ with actual type ‘Char -> Char’
+ • When checking that the pattern signature: forall a. a -> a
+ fits the type of its context: Char -> Char
+ In the pattern: x :: forall a. a -> a
+ In the expression: (\ (x :: forall a. a -> a) -> x)