You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code above will result in a fatal stack overflow problem. It seems like that we cannot use recursive(such as the TreeNode) struct with the same name(even if they are in different packages). If we rename a.TreeNode to a.TreeNode1, the copier will work normally.
Reproducible Example
Description
The code above will result in a fatal stack overflow problem. It seems like that we cannot use recursive(such as the
TreeNode
) struct with the same name(even if they are in different packages). If we renamea.TreeNode
toa.TreeNode1
, thecopier
will work normally.The text was updated successfully, but these errors were encountered: