cmd/gofmt: comments under case statements indented inconsistently #20681
Labels
FrozenDueToAge
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
Milestone
go version go1.8.1.typealias linux/amd64
gofmt indents comments under case statements differently, depending on whether or not there is a subsequent default case.
https://play.golang.org/p/04RrASTyjn
Press "Format" and notice that "// CommentBar" is properly indented, whereas "// CommentFoo" is missing an indent.
The text was updated successfully, but these errors were encountered: