mirror of https://github.com/golang/go.git
We should not offer links to variable or type declarations in function scope. Improve our heuristics to check that the declaration object is actually reachable from the package scope. Also push down handling of private import paths, so that the HoverJSON.importPath field can be removed. Change-Id: I6edb3be3c37f479667c838beb49f97e7167b47a1 Reviewed-on: https://go-review.googlesource.com/c/tools/+/385016 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> Reviewed-by: Heschi Kreinick <heschi@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> |
||
|---|---|---|
| .. | ||
| a | ||
| b | ||
| broken | ||
| hover_generics | ||
| infer_generics | ||