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
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
cmd/gofmt: on every run, gofmt will add an extra level of indent to comment #9751
(This new issue extracts a sub-issue that was originally mentioned in #5128 (comment). After investigating the cause, I've realized this issue is different and smaller in scope than the original issue #5128, that's why I'm making this new issue.)
An instance of
I've identified the root cause in
It happens when a comment block consists of a first line with
I already have a fix and test cases done locally, I will submit a CL that closes this issue shortly.