]> gitweb.factorcode.org Git - factor.git/commitdiff
stack-checker.dependencies: fix error thrown if depends-on-single-method parameters...
authorSlava Pestov <slava@factorcode.org>
Thu, 24 Jun 2010 08:28:34 +0000 (04:28 -0400)
committerSlava Pestov <slava@factorcode.org>
Thu, 24 Jun 2010 08:28:40 +0000 (04:28 -0400)
basis/stack-checker/dependencies/dependencies.factor

index f35fb4afd7aa86abb61d189a42b7f5002f97f546..bb1cf080ded25db7948cc0c980be1aa70f543b77 100644 (file)
@@ -165,7 +165,10 @@ SYMBOL: +no-method+
 
 M: depends-on-single-method satisfied?
     [ method-class>> ] [ object-class>> ] [ generic>> ] tri
-    subclass-with-only-method = ;
+    {
+        [ [ class? ] [ class? ] [ generic? ] tri* and and ]
+        [ subclass-with-only-method = ]
+    } 3&& ;
 
 TUPLE: depends-on-method-identity class generic method ;