dayton-outar/smpl

Recursive methods throws a StackOverflowError

dayton-outar opened this issue · 0 comments

Screenshot from 2021-04-25 08-42-51

The screenshot above shows details of a StackOverflowError when executing the following source code,

fact = (:n) { (n <= 1) ? 1 : n * fact(n - 1); }

:> fact(3);