[project @ 2000-12-12 17:21:40 by simonmar]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail073.stderr
index aaaefc3..d51d64e 100644 (file)
@@ -1,14 +1,12 @@
 
-tcfail073.hs:3:
-    Duplicate or overlapping instance declarations
-       for `Eq (a, b)'
-           defined at tcfail073.hs:7 and imported from module `PrelTup'
+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' from the context: (Eq (a, b))
-    Probable cause: missing `Eq a' in instance declaration context
+    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
-
-Compilation had errors
-