1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:54:42 -07:00
go/internal/lsp/cache
Rebecca Stambler 3eedecdc80 internal/lsp: propagate diagnostics for reverse dependencies
Prior to this change, if a package was rendered invalid by a change in
one of its dependencies, diagnostics would not be propagated until the
user typed in one of the package's files. Now, these updated diagnostics
are sent along with the diagnostics for the dependency.

Fixes golang/go#29817

Change-Id: I4761de31c4bdee820e024005f6112b3b3d2e1da6
Reviewed-on: https://go-review.googlesource.com/c/tools/+/174977
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-05-10 13:52:23 +00:00
..
check.go internal/lsp: propagate diagnostics for reverse dependencies 2019-05-10 13:52:23 +00:00
file.go internal/lsp: propagate diagnostics for reverse dependencies 2019-05-10 13:52:23 +00:00
parse.go internal/lsp: handle completion after defer, go statements 2019-04-24 22:01:01 +00:00
pkg.go internal/lsp: propagate diagnostics for reverse dependencies 2019-05-10 13:52:23 +00:00
view.go internal/lsp: support builtin types without hardcoding 2019-05-01 04:50:30 +00:00