You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd/deadcode: respect unused symbols inside all loaded modules
Current deadcode uses the first package module path as a regular expression to
filter when check deadcode code for packages. However, when users load multiple
modules, the filter will respect one of them only.
This CL constructs the filter regex based on all loaded modules rather than use
the first privileging the first package.
Fixesgolang/go#73652
Change-Id: Id7b9eb8274141cd2d6362da01366cbc45c87eebc
Reviewed-on: https://go-review.googlesource.com/c/tools/+/671916
Reviewed-by: Alan Donovan <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Robert Findley <[email protected]>
Auto-Submit: Alan Donovan <[email protected]>
0 commit comments