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
https://play.golang.org/p/fegoJJL-BQ shows a gofmt corner case that seems a little inconsistent. I'd expect the lines marked with <-- indent? to be indented, as they would be if any elements were added into the slice/map literals.
The text was updated successfully, but these errors were encountered:
cespare
changed the title
cmd/gofmt: Indent comments in otherwise-empty slice, array, and map literals
cmd/gofmt: indent comments in otherwise-empty slice, array, and map literals
Jun 21, 2016
Go 1.6.2.
https://play.golang.org/p/fegoJJL-BQ shows a gofmt corner case that seems a little inconsistent. I'd expect the lines marked with
<-- indent?
to be indented, as they would be if any elements were added into the slice/map literals.Low priority.
/cc @griesemer
The text was updated successfully, but these errors were encountered: