Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upgo/printer, gofmt: line directives specifying columns must stay in place relative to next token #24326
Comments
This comment has been minimized.
This comment has been minimized.
Moving to 1.13. No urgent need has come up for this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gofmt changes the code
to
which changes the positions of some tokens. Generally, gofmt changes positions, but in the case of line directives specifying specific line and column values we want those values to remain stable.
See also #22662, #24143, and #24183.