summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail007.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail007.stderr')
-rw-r--r--testsuite/tests/typecheck/should_fail/tcfail007.stderr21
1 files changed, 10 insertions, 11 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail007.stderr b/testsuite/tests/typecheck/should_fail/tcfail007.stderr
index 3545f8644f..6f93a462a2 100644
--- a/testsuite/tests/typecheck/should_fail/tcfail007.stderr
+++ b/testsuite/tests/typecheck/should_fail/tcfail007.stderr
@@ -1,11 +1,10 @@
-
-tcfail007.hs:3:16:
- No instance for (Num Bool)
- arising from the literal `1'
- Possible fix: add an instance declaration for (Num Bool)
- In the second argument of `(+)', namely `1'
- In the expression: x + 1
- In an equation for `n':
- n x
- | True = x + 1
- | False = True
+
+tcfail007.hs:3:15:
+ No instance for (Num Bool)
+ arising from a use of `+'
+ Possible fix: add an instance declaration for (Num Bool)
+ In the expression: x + 1
+ In an equation for `n':
+ n x
+ | True = x + 1
+ | False = True