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
What steps will reproduce the problem?
1. run gofmt on this code: http://pastie.org/853977
What is the expected output? What do you see instead?
expect the map items to be aligned, but they aren't
What is your $GOOS? $GOARCH?
linux/amd64
Which revision are you using? (hg identify)
release-2010-03-04
The text was updated successfully, but these errors were encountered:
This is working as designed, but the current design is not great. Currently, if a key-
value pair exceeds a certain size (in chars) it's simply not aligned with the rest. A
better
solution is to make that decision on some ratio. We want outliers not to cause the
aligned composite literal to be overly wide, but at the same time, if all entries are
wide,
they should be aligned. Better heuristic forthcoming.
The text was updated successfully, but these errors were encountered: