[project @ 2001-08-22 11:45:06 by sewardj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail073.stderr
index a519785..d51d64e 100644 (file)
@@ -1,16 +1,12 @@
 
-tcfail073.hs:3:
-    Duplicate or overlapping instance declarations
-       for `Eq (a, b)' at PrelTup.hi:10 and tcfail073.hs:8
+Duplicate or overlapping instance declarations:
+  tcfail073.hs:7: {Eq (a, b)}
+  /home/simonmar/builds/i386-unknown-linux/ghc/compiler/../lib/std/PrelTup.hi:66: {Eq (a,
+                                                                                      b)}
 
 tcfail073.hs:8:
-    Could not deduce `Eq a'
-       (arising from use of `==' at tcfail073.hs:8)
-       from the context: (Eq (a, b))
-    Probable cause: missing `Eq a' in instance declaration context
-    When checking the methods of an instance declaration
-
-
-
-Compilation had errors
-
+    Could not deduce `Eq a' from the context (Eq (a, b))
+    Probable fix:
+       Add `Eq a' to the instance declaration context
+    arising from use of `==' at tcfail073.hs:8
+    In the right-hand side of an equation for `==': m == o