[project @ 1997-05-26 05:42:53 by sof]
[ghc-hetmet.git] / ghc / compiler / tests / typecheck / should_fail / tcfail023.stderr
index 52dd9fa..1626fb7 100644 (file)
@@ -1,11 +1,27 @@
  
-"tcfail023.hs", line 8: Duplicate/overlapping instances:
-    class "A", type "B"; at "tcfail023.hs", line 8 and "tcfail023.hs", line 11
-"tcfail023.hs", line 11:
-    Couldn't match type "Bool" against "B".
-    Inside a function binding:
-       op ... C = True
-Fail: Compilation errors found
+tcfail023.hs:2: Duplicate or overlapping instance declarations
+    Class `A' type `B'
+       at tcfail023.hs:8 and tcfail023.hs:11
+tcfail023.hs:2: Duplicate or overlapping instance declarations
+    Class `A' type `B'
+       at tcfail023.hs:8 and tcfail023.hs:11
+tcfail023.hs:11: Couldn't match the type
+                    `B' against `PrelBase.Bool'
+    Expected: `B'
+    Inferred: `PrelBase.Bool'
+    In an equation for function `op':
+       `op C       =   PrelBase.True'
+tcfail023.hs:8: Couldn't match the type
+                   `B' against `PrelBase.Bool'
+    Expected: `B'
+    Inferred: `PrelBase.Bool'
+    In an equation for function `op':
+       `op C       =   PrelBase.True'
+tcfail023.hs:2: Module Main must include a definition for `Main.main'
+
 
-ghc: execution of the Haskell compiler had trouble
+Compilation had errors