[project @ 2001-01-14 15:46:53 by simonmar]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail010.stderr
index 38fecef..67a9902 100644 (file)
@@ -1,7 +1,5 @@
-tcfail010.hs:3:
-    Cannot resolve the ambiguous context (Num [aGb])
-       `Num [aGb]' arising from the literal `2', 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