1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:24:44 -07:00
go/internal/lsp/analysis/unusedparams
Rohan Challa 88b9c284fd internal/lsp/analysis: add pass for unused parameters
This change adds a pass that checks for unused parameters inside of a function. It is disabled by default.

Updates golang/go#36602

Change-Id: I9e8de3368f16f27e7816ec4ddb16935e1a05584e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/222817
Run-TryBot: Rohan Challa <rohan@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-03-26 20:36:28 +00:00
..
testdata/src/a internal/lsp/analysis: add pass for unused parameters 2020-03-26 20:36:28 +00:00
unusedparams_test.go internal/lsp/analysis: add pass for unused parameters 2020-03-26 20:36:28 +00:00
unusedparams.go internal/lsp/analysis: add pass for unused parameters 2020-03-26 20:36:28 +00:00