diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail015.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail015.stderr | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail015.stderr b/testsuite/tests/typecheck/should_fail/tcfail015.stderr index 52dc7956cd..24affd76d9 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail015.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail015.stderr @@ -1,10 +1,7 @@ - -tcfail015.hs:9:39: - No instance for (Num Bool) - arising from the literal `4' - Possible fix: add an instance declaration for (Num Bool) - In the expression: 4 - In an equation for `g': - g (ANode b (ANode c d)) - | b = c + 1 - | otherwise = 4 +
+tcfail015.hs:7:13:
+ No instance for (Num Bool)
+ arising from the literal `2'
+ Possible fix: add an instance declaration for (Num Bool)
+ In the expression: 2
+ In an equation for `g': g (ANull) = 2
|