[project @ 2001-08-22 11:45:06 by sewardj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail019.stderr
index 055b3e8..80093c1 100644 (file)
@@ -1,19 +1,14 @@
 
 tcfail019.hs:18:
-    Could not deduce `C [a]'
-       (arising from an instance declaration at tcfail019.hs:18)
-       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
+    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
 
 tcfail019.hs:18:
-    Could not deduce `B [a]'
-       (arising from an instance declaration at tcfail019.hs:18)
-       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
-
-Compilation had errors
-
+    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