]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/tools/crossref/crossref.factor
generic: rename method-body predicate class to method
[factor.git] / basis / tools / crossref / crossref.factor
index daa30100a46e30c64913534b462380403a026359..3bdf2f83ae589a46148f8849d8c7255d4c186ca0 100644 (file)
@@ -103,7 +103,7 @@ GENERIC: smart-usage ( defspec -- seq )
 
 M: object smart-usage usage [ irrelevant? not ] filter ;
 
-M: method-body smart-usage "method-generic" word-prop smart-usage ;
+M: method smart-usage "method-generic" word-prop smart-usage ;
 
 M: f smart-usage drop \ f smart-usage ;
 
@@ -124,7 +124,7 @@ M: f smart-usage drop \ f smart-usage ;
     [ [ vocab-name ] [ words [ generic? not ] filter ] bi ] dip map
     [
         [ [ word? ] [ generic? not ] bi and ] filter [
-            dup method-body?
+            dup method?
             [ "method-generic" word-prop ] when
             vocabulary>>
         ] map