Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/gofmt: incorrect alignment for func prototype parameters comments #42633

Open
mkrasuski opened this issue Nov 16, 2020 · 0 comments
Open

cmd/gofmt: incorrect alignment for func prototype parameters comments #42633

mkrasuski opened this issue Nov 16, 2020 · 0 comments

Comments

@mkrasuski
Copy link

@mkrasuski mkrasuski commented Nov 16, 2020

What version of Go are you using (go version)?

1.15.5

Does this issue reproduce with the latest release?

What operating system and processor architecture are you using (go env)?

go env Output
$ go env

What did you do?

just saved file in VSCode - gofmt runs then

What did you expect to see?

func NewHandler(
	fieldName string,   // field to check
	stringValue string, // value to check
	schema Schema,      // source of fields
) *Handler {

What did you see instead?

func NewHandler(
	fieldName string, // field to check
	stringValue string, // value to check
	schema Schema, // source of fields
) *Handler {
@ALTree ALTree added this to the Unplanned milestone Nov 17, 2020
@ALTree ALTree changed the title gofmt: incorrect alignment for func prototype parameters comments cmd/gofmt: incorrect alignment for func prototype parameters comments Nov 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants