[project @ 2000-03-23 17:45:17 by simonpj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail036.stderr
index 2159b49..ba8ddf2 100644 (file)
@@ -1,64 +1,20 @@
-tcfail036.hs:8: Warning:
-    No explicit method nor default method for `fromInteger'
-    in an instance declaration for `Num'
-tcfail036.hs:8: Warning:
-    No explicit method nor default method for `signum'
-    in an instance declaration for `Num'
-tcfail036.hs:8: Warning:
-    No explicit method nor default method for `abs'
-    in an instance declaration for `Num'
-tcfail036.hs:8: Warning:
-    No explicit method nor default method for `negate'
-    in an instance declaration for `Num'
-tcfail036.hs:8: Warning:
-    No explicit method nor default method for `*'
-    in an instance declaration for `Num'
-tcfail036.hs:8: Warning:
-    No explicit method nor default method for `+'
-    in an instance declaration for `Num'
-tcfail036.hs:7: Warning:
-    No explicit method nor default method for `fromInteger'
-    in an instance declaration for `Num'
-tcfail036.hs:7: Warning:
-    No explicit method nor default method for `signum'
-    in an instance declaration for `Num'
-tcfail036.hs:7: Warning:
-    No explicit method nor default method for `abs'
-    in an instance declaration for `Num'
-tcfail036.hs:7: Warning:
-    No explicit method nor default method for `negate'
-    in an instance declaration for `Num'
-tcfail036.hs:7: Warning:
-    No explicit method nor default method for `*'
-    in an instance declaration for `Num'
 
-tcfail036.hs:9:
-    Class used as a type constructor: Num
-    In the type `Eq Num'
 tcfail036.hs:3:
     Duplicate or overlapping instance declarations
-       for `Num NUM' at tcfail036.hs:8 and tcfail036.hs:7
+       for `Num NUM'
+           defined at tcfail036.hs:8 and defined at tcfail036.hs:6
+
 tcfail036.hs:8:
     No instance for `Eq NUM'
-       (arising from an instance declaration at tcfail036.hs:8)
+    arising from an instance declaration at tcfail036.hs:8
+
 tcfail036.hs:8:
     No instance for `Show NUM'
-       (arising from an instance declaration at tcfail036.hs:8)
+    arising from an instance declaration at tcfail036.hs:8
 
+tcfail036.hs:9:
+    Class used as a type constructor: Num
+    When checking kinds in `Eq Num'
 
 Compilation had errors
+