Skip to content

build: is not compatible with the latest golang.org/x/tools #479

Closed
@sitano

Description

@sitano
  1. Version of golangci-lint: golangci-lint --version (or git commit if you don't use binary distribution)
    97ea1cbb21bbf5e4d0e8bcc0f9243385e9262dcc / v1.16.0 tag
  2. Version of the golang.org/x/tools which is github.com/golang/tools
    aef51cc3777c6a88d6834b42444edffdac4860fa
  3. Expected behavior: golangci-lint compiles fine
  4. 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
  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions