mirror of https://github.com/golang/go.git
This change adds a shouldLoad field to knownMetadata so that we can be more selective about reloading these. If a package has invalid metadata, but its metadata hasn't changed, we shouldn't attempt to reload it until the metadata changes. Fixes golang/go#40312 Change-Id: Icf5a13fd179421b8f70a5eab6a74b30aaf841f49 Reviewed-on: https://go-review.googlesource.com/c/tools/+/298489 Trust: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
|---|---|---|
| .. | ||
| doc.go | ||
| env.go | ||
| env_test.go | ||
| expectation.go | ||
| regtest.go | ||
| runner.go | ||
| wrappers.go | ||