[project @ 1998-04-17 15:58:37 by simonm]
[ghc-hetmet.git] / ghc / tests / deriving / should_fail / drvfail004.stderr
index b9a7a56..ca2270e 100644 (file)
@@ -1,7 +1,11 @@
  
-drvfail004.hs:5: No instance for: `PrelBase.Eq (Foo taDH taDI)'
-    arising from an instance declaration at drvfail004.hs:5
-    When checking superclass constraints of an instance declaration
+drvfail004.hs:5:
+    Could not deduce `Eq (Foo a b)'
+       (arising from an instance declaration at drvfail004.hs:5)
+       from the context (Ord a, Ord b)
+    Probable cause: missing `Eq (Foo a b)' in instance declaration context
+                   or missing instance declaration for `Eq (Foo a b)'
+    When checking the superclasses of an instance declaration
 
 
 Compilation had errors