net/netip: AddrPort MarshalText and String methods produce different values #50110
Labels
FrozenDueToAge
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?
Tested that
AddrPort
'sMarshalText
andString
methods produced the same values on valid addresses:https://go.dev/play/p/s6nVtut2v0o?v=gotip
What did you expect to see?
What did you see instead?
I found this bug and a few others while working on #49367.
The text was updated successfully, but these errors were encountered: