Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal/golang/completion: fix crash with extra results
Fix an incorrect condition when extracting expected result types: we must check the length of signature, not number of returns, before accessing the expected result type. Fixes golang/go#70636 Change-Id: I59d84283073c99117c40de584db6f576f2484206 Reviewed-on: https://go-review.googlesource.com/c/tools/+/632936 Reviewed-by: Alan Donovan <adonovan@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
- Loading branch information