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
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@mkrasuski
Copy link

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 added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label 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
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

2 participants