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

Before, we used a local setjmp/longjmp for error handling. Using janet_panic means errors can be more easily expressive and code can be smaller. However, we still need to make vector memory get gc collected, as panics can cause the runtime to skip janet_v_frees.