[project @ 1997-05-26 05:42:53 by sof]
[ghc-hetmet.git] / ghc / compiler / tests / typecheck / should_fail / tcfail036.stderr
index e69de29..f374fcb 100644 (file)
@@ -0,0 +1,61 @@
+tcfail036.hs:9: Class used as a type constructor: `PrelBase.Num'
+tcfail036.hs:3: Duplicate or overlapping instance declarations
+    Class `PrelBase.Num' type `NUM'
+       at tcfail036.hs:7 and tcfail036.hs:8
+tcfail036.hs:3: Duplicate or overlapping instance declarations
+    Class `PrelBase.Num' type `NUM'
+       at tcfail036.hs:7 and tcfail036.hs:8
+tcfail036.hs:8: No instance for:
+                   `PrelBase.Eq NUM'
+    tcfail036.hs:8:
+       in an instance declaration
+    When checking methods of an instance declaration
+tcfail036.hs:8: No instance for:
+                   `PrelBase.Show NUM'
+    tcfail036.hs:8:
+       in an instance declaration
+    When checking methods of an instance declaration
+tcfail036.hs:8: No instance for:
+                   `PrelBase.Eq NUM'
+    tcfail036.hs:8:
+       in an instance declaration
+    When checking superclass constraints of an instance declaration
+tcfail036.hs:8: No instance for:
+                   `PrelBase.Show NUM'
+    tcfail036.hs:8:
+       in an instance declaration
+    When checking superclass constraints of an instance declaration
+tcfail036.hs:7: No instance for:
+                   `PrelBase.Eq NUM'
+    tcfail036.hs:7:
+       in an instance declaration
+    When checking methods of an instance declaration
+tcfail036.hs:7: No instance for:
+                   `PrelBase.Show NUM'
+    tcfail036.hs:7:
+       in an instance declaration
+    When checking methods of an instance declaration
+tcfail036.hs:7: No instance for:
+                   `PrelBase.Eq NUM'
+    tcfail036.hs:7:
+       in an instance declaration
+    When checking superclass constraints of an instance declaration
+tcfail036.hs:7: No instance for:
+                   `PrelBase.Show NUM'
+    tcfail036.hs:7:
+       in an instance declaration
+    When checking superclass constraints of an instance declaration
+
+
+Compilation had errors