In cppia jit mode, local functions do not get compiled and are interpreted instead. This has been an issue because of differences in how jit and interp handle exceptions, (see #876 and #1212). It would be nice for local functions to be jit compiled, which would avoid similar issues in future and provide better performance.