Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/gofmt: incorrect indentation of comments for LabeledStmt #27964
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
No, not real-world code. I'm analysing all the positions that gofmt allows comments to be attached to the AST - see: https://github.com/dave/dst/blob/remove-doc-comment/gendst/postests/position-tests.go#L112-L115