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/cache: don't record edges to invalid packages
The importer assumes that packages have non-empty package path and name. Enforce this invariant when loading metadata. Fixes golang/go#60952 Change-Id: I2f4f18e475ba306d93c8b649d19897a584e5ba19 Reviewed-on: https://go-review.googlesource.com/c/tools/+/505219 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Alan Donovan <adonovan@google.com> Run-TryBot: Robert Findley <rfindley@google.com> gopls-CI: kokoro <noreply+kokoro@google.com> (cherry picked from commit c8278fe) Reviewed-on: https://go-review.googlesource.com/c/tools/+/505222
- Loading branch information