x/tools/gopls: only show Check for upgrades
diagnostics to containing go.mod file
#54556
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
I am using go.work to develop gopls. The contents of my go.work are:
I clicked on the
Check for upgrades
codelens in x/tools/go.modI would expect to see either (1) all of the upgrade diagnostics in both files, or (2) only diagnostics on x/tool/go.mod
Instead I saw upgrade diagnostics in both files, but the diagnostics in x/tools/gopls/go.mod only included dependencies that were also in x/tools/go.mod. There were additional upgrades available in x/tools/gopls/go.mod but the diagnostics were not shown.
The text was updated successfully, but these errors were encountered: