[project @ 2000-03-23 17:45:17 by simonpj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail010.stderr
index 4543690..3712503 100644 (file)
@@ -1,7 +1,8 @@
 
 tcfail010.hs:3:
     Ambiguous type variable(s) `t' in the constraint `Num [t]'
-    arising from use of `+' at tcfail010.hs:3
+    arising from the literal `2' at tcfail010.hs:3
+    In the second argument of `+', namely `2'
     In the right-hand side of a lambda abstraction: z + 2
 
 Compilation had errors