[project @ 1999-01-23 17:57:35 by sof]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail008.stderr
index 18abfc5..a7f15d6 100644 (file)
@@ -1,11 +1,14 @@
  
-tcfail008.hs:3: No instance for: `Num [taEy]'
-    arising from the literal 2 at tcfail008.hs:3
+tcfail008.hs:3:
+    Ambiguous type variable(s) `t'
+       in the constraint `PrelBase.Num [t]'
+       arising from the literal `2' at tcfail008.hs:3
  
-tcfail008.hs:3: No instance for: `Num [taEy]'
-    arising from the literal 2 at tcfail008.hs:3
-tcfail008.hs:3: No instance for: `Num [Int]'
-    arising from the literal 2 at tcfail008.hs:3
+tcfail008.hs:3:
+    Ambiguous type variable(s) `t'
+       in the constraint `PrelBase.Num t'
+       arising from the literal `1' at tcfail008.hs:3
+
 
 Compilation had errors
+