diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail189.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail189.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail189.stderr b/testsuite/tests/typecheck/should_fail/tcfail189.stderr new file mode 100644 index 0000000000..b3a6cb4b96 --- /dev/null +++ b/testsuite/tests/typecheck/should_fail/tcfail189.stderr @@ -0,0 +1,8 @@ + +tcfail189.hs:10:31: + Couldn't match expected type `a -> t0' with actual type `[a0]' + Expected type: (a -> t0) -> [a] -> [[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 |