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/vet: should not complain about format %q used with []string #25869

Closed
bradfitz opened this issue Jun 13, 2018 · 3 comments
Closed

cmd/vet: should not complain about format %q used with []string #25869

bradfitz opened this issue Jun 13, 2018 · 3 comments
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@bradfitz
Copy link
Contributor

In https://go-review.googlesource.com/c/tools/+/118557 @griesemer is adjusting valid code just to appease vet.

I suspect that vet is wrong here and it should permit %q with []string.

/cc @robpike

@andybons
Copy link
Member

@alandonovan

@andybons andybons added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Jun 13, 2018
@andybons andybons added this to the Unplanned milestone Jun 13, 2018
@griesemer
Copy link
Contributor

Minor correction: The argument is []interface{} not []string.

@bradfitz
Copy link
Contributor Author

Ah, never mind then.

(Too) early morning here. Can't read apparently.

@golang golang locked and limited conversation to collaborators Jun 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge 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

4 participants