Closed bichanna closed 2 years ago
With production SLAP, error changes to zsh: segmentation fault slap tests/limit/func\(func\(func\(\)\)\).slap
.
(I might be wrong) Debug build can contain some checks like call limit check while for Release build it might have no checks which means the call stack can be full which can cause a segmentation fault(It happens also in a C program)
As said by the error, you should try not using recursions too much.
Do you know how I can handle that? How can I have a check for that error? Can I handle this with something like a try-except statement?
And I think, after fixing this bug, I will release the 0.0.3 version.
I guess you need to limit recursion depth just like python does?
code:
error: