mirror of
https://github.com/golang/go
synced 2024-09-30 22:58:34 -06:00
59ae353e8e
If the initial workspace load fails (due to a lack of a go.mod file or an invalid go.mod file), we should try to re-load as changes to the go.mod come in. Rather than retrying within the view, we just drop the view entirely and try to recreate it. This shouldn't lead to any noticeable lag, as anything that has been cached can still be reused. Fixes golang/go#36531 Change-Id: I6e157075e8b3665f0ceef35e051e56ac3c29f286 Reviewed-on: https://go-review.googlesource.com/c/tools/+/216037 Run-TryBot: Rebecca Stambler <rstambler@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Heschi Kreinick <heschi@google.com> |
||
---|---|---|
.. | ||
apidiff | ||
fastwalk | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
module | ||
packagesinternal | ||
semver | ||
span | ||
telemetry | ||
testenv | ||
tool | ||
xcontext |