[project @ 2000-03-23 17:45:17 by simonpj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail007.stderr
index 0dd2348..ad50c0f 100644 (file)
@@ -1,7 +1,9 @@
 
 tcfail007.hs:3:
     No instance for `Num Bool'
-       arising from use of `+' at tcfail007.hs:3
+    arising from the literal `1' at tcfail007.hs:3
+    In the second argument of `+', namely `1'
+    In the right-hand side of an equation for `n': x + 1
 
 Compilation had errors