[project @ 1999-01-23 17:57:35 by sof]
[ghc-hetmet.git] / ghc / tests / typecheck / should_fail / tcfail067.stderr
index d62b84f..b243791 100644 (file)
@@ -1,30 +1,38 @@
  
 tcfail067.hs:65: Warning:
-    No explicit method nor default method for `abs'
-    in an instance declaration for `Num'
+    No explicit method nor default method for `PrelBase.signum'
+    in an instance declaration for `PrelBase.Num'
  
 tcfail067.hs:65: Warning:
-    No explicit method nor default method for `signum'
-    in an instance declaration for `Num'
+    No explicit method nor default method for `PrelBase.abs'
+    in an instance declaration for `PrelBase.Num'
 
  
-tcfail067.hs:76:
-    No instance for: `Ord a'
-       arising from use of `SubRange', at tcfail067.hs:76
-       Available context: (Num a)
-       When checking the type signature(s) for `numSubRangeBinOp'
-tcfail067.hs:61:
-    No instance for: `Ord a'
-       arising from use of `numSubRangeNegate', at tcfail067.hs:61
-       Available context: (Eq (SubRange a), Show (SubRange a), Eval (SubRange a))
-       From the superclasses of the instance declaration
+tcfail067.hs:65:
+    Could not deduce `PrelBase.Ord a'
+       (arising from use of `SubRange' at tcfail067.hs:65)
+       from the context: (PrelBase.Num (SubRange _97), PrelBase.Num _97, PrelBase.Eq (SubRange _97), PrelBase.Show (SubRange _97), PrelBase.Eq (SubRange _97), PrelBase.Show (SubRange _97))
+    Probable cause: missing `PrelBase.Ord a'
+                   in instance declaration context
+    When checking the methods of an instance declaration
  
 tcfail067.hs:65:
-    No instance for: `Show (SubRange a)'
-       arising from an instance declaration, at tcfail067.hs:65
-       Available context: (Eq (SubRange a), Show (SubRange a), Eval (SubRange a))
-       From the superclasses of the instance declaration
+    Could not deduce `PrelBase.Show (SubRange a)'
+       (arising from an instance declaration at tcfail067.hs:65)
+       from the context: (PrelBase.Num _97)
+    Probable cause: missing `PrelBase.Show (SubRange a)'
+                   in instance declaration context
+                   or missing instance declaration for `PrelBase.Show (SubRange a)'
+    When checking the superclasses of an instance declaration
+tcfail067.hs:74:
+    Could not deduce `PrelBase.Ord a'
+       (arising from use of `SubRange' at tcfail067.hs:74)
+       from the context: (PrelBase.Num a)
+    Probable cause: missing `PrelBase.Ord a'
+                   in type signature for `numSubRangeBinOp'
+    When checking the type signature(s) for `numSubRangeBinOp'
 
 
 Compilation had errors
+