[project @ 2001-08-22 11:45:06 by sewardj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail019.stderr
index 2788d89..80093c1 100644 (file)
@@ -1,20 +1,14 @@
-tcfail019.hs:19:
-    Could not deduce `C [a]'
-       (arising from an instance declaration at tcfail019.hs:19)
-       from the context: ()
-    Probable cause: missing `C [a]' in instance declaration context
-                   or missing instance declaration for `C [a]'
-    When checking the superclasses of an instance declaration
-tcfail019.hs:19:
-    Could not deduce `B [a]'
-       (arising from an instance declaration at tcfail019.hs:19)
-       from the context: ()
-    Probable cause: missing `B [a]' in instance declaration context
-                   or missing instance declaration for `B [a]'
-    When checking the superclasses of an instance declaration
 
+tcfail019.hs:18:
+    Could not deduce `C [a]' from the context ()
+    Probable fix:
+       Add `C [a]' to the instance declaration context
+       Or add an instance declaration for `C [a]'
+    arising from an instance declaration at tcfail019.hs:18
 
-Compilation had errors
-
+tcfail019.hs:18:
+    Could not deduce `B [a]' from the context ()
+    Probable fix:
+       Add `B [a]' to the instance declaration context
+       Or add an instance declaration for `B [a]'
+    arising from an instance declaration at tcfail019.hs:18