mirror of
https://github.com/golang/go
synced 2024-11-19 00:44:40 -07:00
5ae6a9745e
This change marks any unresolved packages discovered as imports by go/packages.Load. It re-runs go/packages.Load for any package with missing imports, which will result in the LSP registering changes in dependencies. However, this means that we re-run go/packages.Load on package's with unresolved imports much more than we normally would, so it may result in a slowdown or unexpected behavior. I'm not sure if this is necessarily the correct approach here. Updates golang/go#32232 Change-Id: Id611fa1876e42c88ca2c3e4db30da66dc66945fc Reviewed-on: https://go-review.googlesource.com/c/tools/+/180537 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> |
||
---|---|---|
.. | ||
cache.go | ||
check.go | ||
external.go | ||
file.go | ||
gofile.go | ||
load.go | ||
modfile.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
sumfile.go | ||
view.go | ||
watcher.go |