void Block__has_static_error(VM* vm) { Block* block = as_block(vm->input(0)); if (block == NULL) return vm->throw_str("NULL block"); set_bool(vm->output(), has_static_errors_cached(block)); }
void Branch__has_static_error(caStack* stack) { Branch* branch = as_branch(circa_input(stack, 0)); set_bool(circa_output(stack, 0), has_static_errors_cached(branch)); }