mirror of
https://github.com/golang/go
synced 2024-11-05 14:46:11 -07:00
58eba7e750
Currently, diagnostics for modules that are missing from the go.mod appear in the Go files in which those modules are imported. As a result, the diagnostics were previously calculated as part of the Go file diagnostic calculations. This is convoluted and required passing around an extra map. This CL puts that logic in the ModTidyHandle where it belongs. The diagnostics for the Go files are combined from the multiple sources. Also, added a skipped test for golang/go#39784, since this CL was originally intended to be a fix for that issue... Change-Id: Ic0f9aa235dcd56ea131a2339de9801346f715415 Reviewed-on: https://go-review.googlesource.com/c/tools/+/242579 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
codelens_test.go | ||
definition_test.go | ||
diagnostics_test.go | ||
doc.go | ||
env_test.go | ||
env.go | ||
formatting_test.go | ||
generate_test.go | ||
imports_test.go | ||
link_test.go | ||
modfile_test.go | ||
reg_test.go | ||
runner.go | ||
shared_test.go | ||
symbol_helper_test.go | ||
symbol_test.go | ||
unix_test.go | ||
vendor_test.go | ||
watch_test.go | ||
wrappers.go |