summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail153.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail153.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail153.stderr12
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail153.stderr b/testsuite/tests/typecheck/should_fail/tcfail153.stderr
new file mode 100644
index 0000000000..0b40df47d1
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/tcfail153.stderr
@@ -0,0 +1,12 @@
+
+tcfail153.hs:6:9:
+ Couldn't match type `a' with `Bool'
+ `a' is a rigid type variable bound by
+ the type signature for f :: a -> [a] at tcfail153.hs:6:1
+ In the first argument of `g', namely `x'
+ In the expression: g x
+ In an equation for `f':
+ f x
+ = g x
+ where
+ g y = if y then [] else [...]