[project @ 2001-08-22 11:45:06 by sewardj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail019.stderr
index c4534e6..80093c1 100644 (file)
@@ -1,18 +1,14 @@
-tcfail019.hs:20: No instance for: `B [tali]'
-    arising from an instance declaration at tcfail019.hs:20
-    When checking methods of an instance declaration
-tcfail019.hs:20: No instance for: `C [tali]'
-    arising from an instance declaration at tcfail019.hs:20
-    When checking methods of an instance declaration
-tcfail019.hs:20: No instance for: `B [tali]'
-    arising from an instance declaration at tcfail019.hs:20
-    When checking superclass constraints of an instance declaration
-tcfail019.hs:20: No instance for: `C [tali]'
-    arising from an instance declaration at tcfail019.hs:20
-    When checking superclass constraints of an instance declaration
 
-Compilation had errors
+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
+
+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