[project @ 2001-04-03 16:28:11 by sewardj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail017.stderr
index f884ade..ac4fd91 100644 (file)
@@ -1,11 +1,7 @@
-tcfail017.hs:11:
-    Could not deduce `C [a]'
-       (arising from an instance declaration at tcfail017.hs:11)
-       from the context (B a)
-    Probable cause: missing `C [a]' in instance declaration context
-                   or missing instance declaration for `C [a]'
-    When checking the superclasses of an instance declaration
 
-
-Compilation had errors
+tcfail017.hs:10:
+    Could not deduce `C [a]' from the context (B a)
+    Probable fix:
+       Add `C [a]' to the instance declaration context
+       Or add an instance declaration for `C [a]'
+    arising from an instance declaration at tcfail017.hs:10