1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-28 19:19:53 +00:00

Revert change to propagate op code.

This commit is contained in:
Calvin Rose 2021-01-17 15:33:42 -06:00
parent bd2e335063
commit fbe3849b4b

View File

@ -1065,11 +1065,7 @@ static JanetSignal run_vm(JanetFiber *fiber, Janet in) {
janet_status_names[sub_status]);
}
fiber->child = f;
if (janet_checktype(stack[B], JANET_NIL)) {
vm_return((int) sub_status, f->last_value);
} else {
vm_return((int) sub_status, stack[B]);
}
vm_return((int) sub_status, stack[B]);
}
VM_OP(JOP_CANCEL) {