Skip to content

x/tools/gopls: infertypeargs diagnostic is missing code/codeDescription fields #57856

@hyangah

Description

@hyangah
[Trace - 5:11:20 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {"uri":"file:///Users/hakim/projects/tools/go/buildutil/allpackages.go","version":5,"diagnostics":[{"range":{"start":{"line":22,"character":9},"end":{"line":22,"character":17}},"severity":2,"source":"infertypeargs","message":"unnecessary type arguments","tags":[1]}]}

We expect it to be linked with detailed info about the analyzer e.g. https://github.com/golang/tools/blob/d958e854808e53978bb3f600901fcb7fa3f71163/gopls/doc/analyzers.md?plain=1#L201

Metadata

Metadata

Assignees

No one assigned

    Labels

    ToolsThis 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

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions