Skip to content

x/tools/gopls: go mod tidy diagnostic fails with tags in buildFlags #41803

@ian-mi

Description

@ian-mi

What version of Go are you using (go version)?

$ go version
go version go1.15 linux/amd64

Does this issue reproduce with the latest release?

Yes

What did you do?

Loaded package in gopls

What did you expect to see?

No errors

What did you see instead?

2020/10/05 20:41:16 warning: diagnose go.mod: err: exit status 2: stderr: flag provided but not defined: -tags
usage: go mod tidy [-v]
Run 'go help mod tidy' for details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions