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