]> gitweb.factorcode.org Git - factor.git/commitdiff
combinators.smart: Tell the stack checker that the return values from inputs/ouputs...
authorDoug Coleman <doug.coleman@gmail.com>
Thu, 1 Dec 2011 06:47:20 +0000 (22:47 -0800)
committerDoug Coleman <doug.coleman@gmail.com>
Thu, 1 Dec 2011 07:15:42 +0000 (23:15 -0800)
Fixes #435

basis/combinators/smart/smart.factor

index 4311252c22ab0d74f67c9f1cf6dc23604caffbe1..8e50ed8ef74bb9adaeb9ddc1e8a6650535f637b8 100644 (file)
@@ -27,6 +27,8 @@ IDENTITY-MEMO: inputs/outputs ( quot -- in out )
         [ [ in>> ] [ out>> ] bi [ length apply-object ] bi@ ] bi*
     ] [
         \ inputs/outputs dup required-stack-effect apply-word/effect
+        pop-d pop-d swap
+        [ [ input-parameter swap set-known ] [ push-d ] bi ] bi@
     ] if*
 ] "special" set-word-prop