recursive-quotation-error ( quot -- * )
Factor handbook » The language » Stack effect checking » Stack checker errors

Prev:inconsistent-recursive-call-error ( word -- * )
Next:too-many->r ( -- * )


Vocabulary
stack-checker.errors

Error description
Thrown when a quotation calls itself, directly or indirectly, within the same word. Stack effect inference becomes equivalent to the halting problem if quotation recursion has to be taken into account, hence it is not permitted.

Examples
Here is an example of quotation recursion:
[ [ dup call ] dup call ] infer.


Definition


Methods