[project @ 1998-04-17 15:58:37 by simonm]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail042.stderr
index 8e0f8e5..2b62e0b 100644 (file)
@@ -1,9 +1,10 @@
  
 tcfail042.hs:18:
-    No instance for: `Num a'
-       arising from an instance declaration, at tcfail042.hs:18
-       Available context: (Foo [a])
-       From the superclasses of the instance declaration
+    Could not deduce `Num a'
+       (arising from an instance declaration at tcfail042.hs:18)
+       from the context (Eq a, Show a)
+    Probable cause: missing `Num a' in instance declaration context
+    When checking the superclasses of an instance declaration
 
 
 Compilation had errors