-
Notifications
You must be signed in to change notification settings - Fork 2
Warning about recursion #40
Copy link
Copy link
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
Activity
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
A simple and short-term solution would be to add a check if anywhere in the code _$func is used. Then, in the UI, throw a warning that "If termination condition is not met, in recursion, the playground may get stuck. "
A long-term solution would involve adding a max run duration if and only if there is a recursion involved in the code.