encoding/xml: stack overflow on marshaling a type embedding itself with XMLName #54732
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
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?
Basic example:
The same example run through go.dev/play will cause the program to exit instantly.
https://go.dev/play/p/TUL3IEqwvsn
What did you expect to see?
What did you see instead?
go env
On my machinego env
On go.dev/playThe text was updated successfully, but these errors were encountered: