summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/mc21.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/mc21.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/mc21.stderr9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/mc21.stderr b/testsuite/tests/typecheck/should_fail/mc21.stderr
new file mode 100644
index 0000000000..95c077cb25
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/mc21.stderr
@@ -0,0 +1,9 @@
+
+mc21.hs:12:26:
+ Couldn't match type `a' with `[a]'
+ `a' is a rigid type variable bound by
+ a type expected by the context: [a] -> [[a]] at mc21.hs:12:9
+ Expected type: [a] -> [[a]]
+ Actual type: [a] -> [a]
+ In the return type of a call of `take'
+ In the expression: take 5