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
gopls has various logic that extracts information from the original go list invocation (see goCommandDiagnostics). In particular, it looks for errors related to go.sum entries.
When using a go.work file, (1) the go.work.sum is automatically updated, contrary to the behavior with respect to go.sum files, and (2) gopls does not get errors about individual go.sum files that may be out of sync.
Low priority, but we should resolve this inconsistency. Ideally, we could separate the calculation of these diagnostics from the actual go/packages.Load invocation. Having them coupled is problematic.
gopherbot
added
Tools
This label describes issues relating to any tools in the x/tools repository.
gopls
Issues related to the Go language server, gopls.
labels
Dec 29, 2022
gopls has various logic that extracts information from the original
go list
invocation (seegoCommandDiagnostics
). In particular, it looks for errors related to go.sum entries.When using a
go.work
file, (1) thego.work.sum
is automatically updated, contrary to the behavior with respect togo.sum
files, and (2) gopls does not get errors about individualgo.sum
files that may be out of sync.Low priority, but we should resolve this inconsistency. Ideally, we could separate the calculation of these diagnostics from the actual
go/packages.Load
invocation. Having them coupled is problematic.CC @adonovan @bcmills
The text was updated successfully, but these errors were encountered: