diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/mc24.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/mc24.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/mc24.stderr b/testsuite/tests/typecheck/should_fail/mc24.stderr new file mode 100644 index 0000000000..bee1592659 --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/mc24.stderr @@ -0,0 +1,8 @@ + +mc24.hs:10:31: + Couldn't match expected type `a -> t0' with actual type `[a0]' + Expected type: (a -> t0) -> [a] -> t1 (t2 a) + Actual type: [a0] -> [a0] + In the return type of a call of `take' + Probable cause: `take' is applied to too many arguments + In the expression: take 2 |