Don't ignore result type in iterative runner

-.-
This commit is contained in:
Laria 2022-10-28 21:41:33 +02:00
parent 62e859638e
commit 9f7c823103

View file

@ -1296,7 +1296,7 @@ apfl_iterative_runner_next(apfl_iterative_runner runner)
apfl_push_userdata(runner->ctx, runner);
apfl_cfunc_setslot(runner->ctx, -2, 0, -1);
apfl_list_create(runner->ctx, 0);
apfl_call_protected(runner->ctx, -2, -1, &runner->with_error_on_stack);
runner->result = apfl_call_protected(runner->ctx, -2, -1, &runner->with_error_on_stack);
return !runner->end;
}