[project @ 2000-03-23 17:45:17 by simonpj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail036.stderr
index e6fed85..ba8ddf2 100644 (file)
@@ -1,51 +1,16 @@
 
-tcfail036.hs:6:
-    Warning: No explicit method nor default method for `*'
-            in an instance declaration for `Num'
-
-tcfail036.hs:6:
-    Warning: No explicit method nor default method for `abs'
-            in an instance declaration for `Num'
-
-tcfail036.hs:6:
-    Warning: No explicit method nor default method for `signum'
-            in an instance declaration for `Num'
-
-tcfail036.hs:6:
-    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 `+'
-            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 `abs'
-            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 `fromInteger'
-            in an instance declaration for `Num'
-
 tcfail036.hs:3:
     Duplicate or overlapping instance declarations
-       for `Num NUM' at tcfail036.hs:8 and tcfail036.hs:6
+       for `Num NUM'
+           defined at tcfail036.hs:8 and defined at tcfail036.hs:6
 
 tcfail036.hs:8:
-    No instance for `Show NUM'
-       arising from an instance declaration at tcfail036.hs:8
+    No instance for `Eq NUM'
+    arising from an instance declaration at tcfail036.hs:8
 
 tcfail036.hs:8:
-    No instance for `Eq NUM'
-       arising from an instance declaration at tcfail036.hs:8
+    No instance for `Show NUM'
+    arising from an instance declaration at tcfail036.hs:8
 
 tcfail036.hs:9:
     Class used as a type constructor: Num