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
@robpike
I do not insist on it, but it already detects regular pointers and empty interface cycles, so I thought it could also be implemented for maps.
Infinite recursion can also be triggered by self-referential data structures, such as a slice that contains itself as an element, if that type has a String method. Such pathologies are rare, however, and the package does not protect against them.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
Hard to tell, maybe:
What did you see instead?
fatal error: stack overflow
Full stacktraceThe text was updated successfully, but these errors were encountered: