Skip to content

Commit

Permalink
combinators.smart: Tell the stack checker that the return values from…
Browse files Browse the repository at this point in the history
… inputs/ouputs are input-parameters

Fixes factor#435
  • Loading branch information
erg committed Dec 1, 2011
1 parent c3dcf43 commit 5a01aec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions basis/combinators/smart/smart.factor
Expand Up @@ -27,6 +27,8 @@ IDENTITY-MEMO: inputs/outputs ( quot -- in out )
[ [ in>> ] [ out>> ] bi [ length apply-object ] bi@ ] bi* [ [ in>> ] [ out>> ] bi [ length apply-object ] bi@ ] bi*
] [ ] [
\ inputs/outputs dup required-stack-effect apply-word/effect \ inputs/outputs dup required-stack-effect apply-word/effect
pop-d pop-d swap
[ [ input-parameter swap set-known ] [ push-d ] bi ] bi@
] if* ] if*
] "special" set-word-prop ] "special" set-word-prop


Expand Down

0 comments on commit 5a01aec

Please sign in to comment.