x/tools/gopls: unusedparams analysis does not check exported functions #65401
Labels
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
gopls version
v0.14.2
go env
What did you do?
Defining a function that does something (for e.g. fmt.Println("sometext")) but is not using it's arguments does not raise a warning.
What did you see happen?
No diagnostic is generated about unused function parameter. Other analyses are ran and displayed as expected.
What did you expect to see?
Warning about unused parameter.
Editor and settings
nvim v0.9.5
full configuration: https://github.com/ilya-rusyanov/nvim-config
Logs
No response
The text was updated successfully, but these errors were encountered: