Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/cache: avoid reporting bugs when go/packages has errors
When go/packages.Load returns an error, or has packages with errors, we should not assume that assumptions of the resulting packages still hold. I believe this is the cause of the two telemetry bug reports below. Fixes golang/go#66204 Fixes golang/go#69895 Change-Id: I9beab020ddb37d36a8826cb36a576990463d7bce Reviewed-on: https://go-review.googlesource.com/c/tools/+/621859 Auto-Submit: Robert Findley <[email protected]> Reviewed-by: Alan Donovan <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
- Loading branch information