Skip to content

Infinite loop caused by recursive functions #6

@ccgauche

Description

@ccgauche

Recursive functions like that break everything:

test {
    test()
}
test()

The compilation never ends!
Two options are possible:

  • Add recursion limit
  • Forbid recursive functions (add the call stack in each execute call)
    Both can be combined

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions