[project @ 1998-04-17 15:58:37 by simonm]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail008.stderr
index b0e401c..2c4047f 100644 (file)
@@ -1,11 +1,15 @@
  
-tcfail008.hs:3: No instance for: `PrelBase.Num [taBU]'
-    arising from the literal 2 at tcfail008.hs:3
+tcfail008.hs:3:
+    Ambiguous type variable(s)
+    `aMu'
+       in the constraint `Num [aMu]'
+       arising from the literal `2' at tcfail008.hs:3
  
-tcfail008.hs:3: No instance for: `PrelBase.Num [taBU]'
-    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)
+    `aMu'
+       in the constraint `Num aMu'
+       arising from the literal `1' at tcfail008.hs:3
+
 
 Compilation had errors