[project @ 1998-11-16 18:14:44 by simonm]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail008.stderr
index 2ee9321..8a852ef 100644 (file)
@@ -1,12 +1,13 @@
  
-tcfail008.hs:3: No instance for: `PrelBase.Num [taBA]'
-    arising from the literal 2 at tcfail008.hs:3
+tcfail008.hs:3:
+    Ambiguous type variable(s) `$0'
+       in the constraint `Num [$0]'
+       arising from the literal `2' at tcfail008.hs:3
  
-tcfail008.hs:3: No instance for: `PrelBase.Num [taBA]'
-    arising from the literal 2 at tcfail008.hs:3
-tcfail008.hs:3: No instance for: `PrelBase.Num [PrelBase.Int]'
-    arising from the literal 2 at tcfail008.hs:3
+tcfail008.hs:3:
+    Ambiguous type variable(s) `$0'
+       in the constraint `Num $0'
+       arising from the literal `1' at tcfail008.hs:3
 
 
 Compilation had errors