b9org/b9

b9run test crashes if an empty function is invoked in JIT mode

NigelYiboYu opened this issue · 1 comments

b9run will crash if test/interpreter_test.src:b9main() remains an empty function [no return statement or anything in the function body]. It's better to return gracefully rather than producing a segmentation fault.

Issue is fixed by PR #96. Thanks @NigelYiboYu for reporting the problem.