diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail153.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail153.stderr | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail153.stderr b/testsuite/tests/typecheck/should_fail/tcfail153.stderr index 4faca8f037..0d38db4385 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail153.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail153.stderr @@ -1,12 +1,13 @@ -tcfail153.hs:6:9: error: - • Couldn't match expected type ‘Bool’ with actual type ‘a’ +tcfail153.hs:6:7: error: + • Couldn't match type ‘a’ with ‘Bool’ + Expected: [a] + Actual: [Bool] ‘a’ is a rigid type variable bound by the type signature for: f :: forall a. a -> [a] at tcfail153.hs:5:1-13 - • In the first argument of ‘g’, namely ‘x’ - In the expression: g x + • In the expression: g x In an equation for ‘f’: f x = g x |