Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gopls-release-branch.0.17] gopls/internal/cache/testfuncs: fix crash…
… with *error argument The test detection logic incorrectly assumes that named types have a non-nil package, which is not true for Error (as we've encountered numerous times). Add the missing nil check. Fixes golang/go#70927 Change-Id: Ibdf483304b53ce219123e820d74acd4f9d12d710 Reviewed-on: https://go-review.googlesource.com/c/tools/+/637815 Reviewed-by: Alan Donovan <[email protected]> Auto-Submit: Robert Findley <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> (cherry picked from commit dcc725c) Reviewed-on: https://go-review.googlesource.com/c/tools/+/637736
- Loading branch information