Skip to content

x/tools/gopls: noisy results for the undeclaredname analyzer in code with parse errors #59888

Closed
@findleyr

Description

@findleyr

Reported by @heschi: the new analysis driver in gopls@v0.12.0-pre.1 results in very noisy analysis for code that contains parse errors, due to the undeclaredname analyzer.
image

We should not run this analyzer (or any analyzer, AFAICT) if there are parse errors.

CC @adonovan

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions