Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/lsp/source/typerefs: reexpress tests wrt ExternalRefs
This change introduces a new API function that (in effect) computes the path through intra-package edges to imported symbols, and re-expresses all the tests in terms of it. A follow-up change will implement SCC-based graph optimizations within the Refs operation, but this bridge allows us to keep the tests unchanged during that transition, for increased confidence. Change-Id: I6735bee2ae8b9b940514bfd7145ad69cd442f117 Reviewed-on: https://go-review.googlesource.com/c/tools/+/481783 Run-TryBot: Alan Donovan <adonovan@google.com> Auto-Submit: Alan Donovan <adonovan@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com>
- Loading branch information