Cyclic function assignment cause stack error
Hello, I think I found a bug,
add g to the text cursor in this picture and the app will crash

the log: www.math3d.org-1642475359497.log
After I read the code related, I think the problem is the getDescendants function called before cyclic dependencies get erased in childMap, so there will be cyclic calls in getDescendants, thus the stack error. This specifically happens if the value of constant "onlyTheseAndChildren" is not null, the only time getDescendants is called.
What were you trying to do? Some sort of recursive definition?
Trying to test if it will throw an error
Trying to do this in python will throw an error too. You need to define one function first, you can then define another as the original function.
