-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
- Version of golangci-lint:
golangci-lint --version
(or git commit if you don't use binary distribution)
97ea1cbb21bbf5e4d0e8bcc0f9243385e9262dcc
/ v1.16.0 tag - Version of the
golang.org/x/tools
which isgit.colasdn.top/golang/tools
aef51cc3777c6a88d6834b42444edffdac4860fa
- Expected behavior: golangci-lint compiles fine
- Actual behavior:
github.com/golangci/golangci-lint/pkg/lint/load.go:171:2: duplicate case "golang.org/x/tools/go/packages".LoadAllSyntax (value 991) in switch
previous case at golang.org/x/tools/go/packages/packages.go:98
- Reason: a change to a const LoadAllSyntax that became equal to a LoadSyntax https://github.com/golang/tools/blob/master/go/packages/packages.go#L104 by golang/tools@dbeab5a
fedoseev-vitaliy and ilyaglow
Metadata
Metadata
Assignees
Labels
No labels