mirror of https://github.com/golang/go.git
This change modifies the behavior of the GetReverseDependencies function used for diagnostics. Since we now return diagnostics for the entire workspace, we don't have to worry if a file is open to show errors in it. This change requires the addition of a new (*snapshot).PackageHandle function that gets a CheckPackageHandle for a given package ID. This function does not cause a re-load of the package metadata, though if we feel that this is something we need in the future we can add it. Change-Id: I863bdf284d15f2317d8fae395928a90b9455146b Reviewed-on: https://go-review.googlesource.com/c/tools/+/208102 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 | ||
| semver | ||
| span | ||
| telemetry | ||
| testenv | ||
| tool | ||
| xcontext | ||