Vocabularystack-checker.errorsError descriptionThrown when inference encounters a macro being applied to a value which is not known to be a literal. Such code needs changes before it can compile and run. See
Combinator stack effects and
Stack effect checking escape hatches for details.
ExamplesIn this example,
cleave is being applied to an array that is constructed on the fly. This is not allowed and fails to compile with a
do-not-compile error:
: cannot-compile-call-example ( x -- y z )
[ 1 + ] [ 1 - ] 2array cleave ;
DefinitionMethods