must-infer-as
Factor handbook » Developer tools » Unit testing

Prev:must-infer
Next:with-test-directory ( ..a quot: ( ..a -- ..b ) -- ..b )


Vocabulary
tools.test

Syntax
{ effect } [ quot ] must-infer-as


Inputs
None

Outputs
None

Word description
Ensures that the quotation has the indicated stack effect without running it.

Notes
This word is used to test that code will compile with the optimizing compiler for optimum performance. See Optimizing compiler.

Definition