diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail175.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail175.stderr | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail175.stderr b/testsuite/tests/typecheck/should_fail/tcfail175.stderr index f181c00bcd..797b701d6d 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail175.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail175.stderr @@ -1,7 +1,8 @@ - -tcfail175.hs:11:1: - Couldn't match type `a' with `String -> String -> String' - `a' is a rigid type variable bound by - the type signature for evalRHS :: Int -> a at tcfail175.hs:11:1 - The equation(s) for `evalRHS' have three arguments, - but its type `Int -> a' has only one +
+tcfail175.hs:11:1:
+ Couldn't match expected type `a'
+ with actual type `String -> String -> String'
+ `a' is a rigid type variable bound by
+ the type signature for evalRHS :: Int -> a at tcfail175.hs:10:12
+ The equation(s) for `evalRHS' have three arguments,
+ but its type `Int -> a' has only one
|