mirror of
https://github.com/golang/go
synced 2024-11-19 05:24:42 -07:00
f191eec953
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> |
||
---|---|---|
.. | ||
analysis.go | ||
builtin.go | ||
cache.go | ||
check.go | ||
error_test.go | ||
errors.go | ||
external.go | ||
file.go | ||
load.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view.go | ||
watcher.go |