Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gopls/internal: fix extract refactor for cases with anonymous functions
This fix ignores return statements inside anonymous functions. These return statements can be ignored because they does not meddle with the control flow of the outer function. Fixes golang/go#64821 Change-Id: I21f82f8663bf3343412d5b537802a56efc34495f Reviewed-on: https://go-review.googlesource.com/c/tools/+/617335 Reviewed-by: Robert Findley <rfindley@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Alan Donovan <adonovan@google.com> Reviewed-by: Alan Donovan <adonovan@google.com> Auto-Submit: Robert Findley <rfindley@google.com>
- Loading branch information