[project @ 2001-01-14 15:46:53 by simonmar]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail010.stderr
index fe1e652..67a9902 100644 (file)
@@ -1,8 +1,5 @@
-tcfail010.hs:3: No instance for: `PrelBase.Num [taC3]'
-    arising from use of `PrelBase.+' at tcfail010.hs:3
-tcfail010.hs:3: No instance for: `PrelBase.Num [taC3]'
-    arising from use of `PrelBase.+' at tcfail010.hs:3
 
-Compilation had errors
+tcfail010.hs:3:
+    Ambiguous type variable(s) `t' in the constraint `Num [t]'
+    arising from use of `+' at tcfail010.hs:3
+    In the right-hand side of a lambda abstraction: z + 2