[project @ 2001-04-03 16:28:11 by sewardj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail010.stderr
index 1e9fd84..ef08279 100644 (file)
@@ -1,9 +1,6 @@
-tcfail010.hs:3: No instance for: `PrelBase.Num [taBD]'
-    arising from use of `PrelBase.+' at tcfail010.hs:3
-tcfail010.hs:3: No instance for: `PrelBase.Num [taBD]'
-    arising from use of `PrelBase.+' at tcfail010.hs:3
 
-
-Compilation had errors
+tcfail010.hs:3:
+    No instance for `Num [t]'
+    arising from the literal `2' at tcfail010.hs:3
+    In the second argument of `(+)', namely `2'
+    in a lambda abstraction: z + 2