Using beta35.8 and alpha35.8 alongside, I suspect a probable cause.
In the official node17 release, such a problem cannot occur, because placing an operation into an operation would probably fail gracefully, and complaining with "Recursion not allowed yet".
Only the alpha (to my understanding an unmerged branch) allows dll import, but misses some of the safeguarding the master branch already has included.
Please correct me if I am wrong.
And please allow such constructs, using other member operations or utility operations within the same scope is a no-brainer. If you are afraid of recursion (good call before we have a node stepper in vl), check for circular references, but don't restrict all calls just on suspicion.