summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail185.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail185.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail185.stderr17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail185.stderr b/testsuite/tests/typecheck/should_fail/tcfail185.stderr
new file mode 100644
index 0000000000..1e4c8d718f
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail185.stderr
@@ -0,0 +1,17 @@
+
+tcfail185.hs:7:46:
+ Couldn't match expected type `Int -> Int' with actual type `Bool'
+ In the expression: x
+ In the expression:
+ let
+ y1 = y
+ y2 = y1
+ y3 = y2
+ ....
+ in x
+ In the expression:
+ \ x y
+ -> let
+ y1 = ...
+ ....
+ in x