Skip to content

cmd/vet: "go vet --shadow" used to work, does not work #29260

@kevinburke

Description

@kevinburke

I have a test runner that calls go vet --all && go vet --shadow: https://github.com/kevinburke/go-bindata/blob/master/testdata/Makefile

This test runner breaks on tip:

$ go vet --shadow
vet: flag "--shadow" not defined
Run "go help vet" for more information

I'm not sure if the compatibility guarantee extends to flag arguments, but it's a little frustrating that this program broke and it took some searching to figure out how to fix it. Searching Google yields mostly results that expect "go vet --shadow" to work as previously written.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.release-blocker

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions