[project @ 2000-01-10 11:08:04 by simonmar]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail018.stderr
index bbfa188..6a5a919 100644 (file)
@@ -1,9 +1,8 @@
-tcfail018.hs:5: No instance for: `PrelBase.Num [taBO]'
-    arising from the literal 1 at tcfail018.hs:5
-tcfail018.hs:5: No instance for: `PrelBase.Num [taBO]'
-    arising from the literal 1 at tcfail018.hs:5
 
+tcfail018.hs:5:
+    Ambiguous type variable(s) `t' in the constraint `Num [t]'
+    arising from the literal `1' at tcfail018.hs:5
+    In the right-hand side of a pattern binding: 1
 
 Compilation had errors
+