[project @ 2000-03-23 17:45:17 by simonpj]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail036.stderr
index 175e247..ba8ddf2 100644 (file)
@@ -1,57 +1,20 @@
-tcfail036.hs:7: Warning:
-    No explicit method nor default method for `PrelBase.fromInteger'
-    in an instance declaration for `PrelBase.Num'
-tcfail036.hs:7: Warning:
-    No explicit method nor default method for `PrelBase.signum'
-    in an instance declaration for `PrelBase.Num'
-tcfail036.hs:7: Warning:
-    No explicit method nor default method for `PrelBase.abs'
-    in an instance declaration for `PrelBase.Num'
-tcfail036.hs:7: Warning:
-    No explicit method nor default method for `PrelBase.*'
-    in an instance declaration for `PrelBase.Num'
-tcfail036.hs:8: Warning:
-    No explicit method nor default method for `PrelBase.fromInteger'
-    in an instance declaration for `PrelBase.Num'
-tcfail036.hs:8: Warning:
-    No explicit method nor default method for `PrelBase.signum'
-    in an instance declaration for `PrelBase.Num'
-tcfail036.hs:8: Warning:
-    No explicit method nor default method for `PrelBase.abs'
-    in an instance declaration for `PrelBase.Num'
-tcfail036.hs:8: Warning:
-    No explicit method nor default method for `PrelBase.*'
-    in an instance declaration for `PrelBase.Num'
-tcfail036.hs:8: Warning:
-    No explicit method nor default method for `PrelBase.+'
-    in an instance declaration for `PrelBase.Num'
 
 tcfail036.hs:3:
     Duplicate or overlapping instance declarations
-       for `PrelBase.Num NUM' at tcfail036.hs:7 and tcfail036.hs:8
-tcfail036.hs:7:
-    No instance for `PrelBase.Show NUM'
-       arising from an instance declaration at tcfail036.hs:7
-tcfail036.hs:7:
-    No instance for `PrelBase.Eq NUM'
-       arising from an instance declaration at 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
+
+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
     When checking kinds in `Eq Num'
 
-
 Compilation had errors