cmd/gofmt: alignment issue with Combining Macron U+0304
in map literals
#30939
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?
Created a
map[string]string
for data munging bad inputs to good inputs and noticed the go formatter alignment gets out of whack due toU+0304
"Combining Macron". Which misleads the formatter as for each combining macron character, there should be 2 spaces added, instead of one.Alignment issues 'intensifies' the more combining macrons are added.
https://play.golang.org/p/_5_6_GPtByF
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: