mirror of
https://github.com/janet-lang/janet
synced 2025-02-24 04:00:02 +00:00

janet_vm_return_reg should only be set when janet_continue is called. Otherwise, a panic may dump it's error message in the wrong place, resulting in undefined behavior (often showing the last return value or worse, segfaulting).