It seems that there is no check for circular dependencies. Once a deep clone is performed on an object with circular dependencies, it will cause stack overflow.
So, like rfdc, can you provide parameters for deep clone of objects with circular dependencies?
This is the reproduction code.
It seems that there is no check for circular dependencies. Once a deep clone is performed on an object with circular dependencies, it will cause stack overflow. So, like rfdc, can you provide parameters for deep clone of objects with circular dependencies? This is the reproduction code.