go/internal/lsp/testdata/extract/extract_function
Shoshin Nikita cb7d59931e internal/lsp/source: skip blank identifiers during the function extraction
The blank identifier is always a local variable. It can't be
a function parameter or a return value.

Fixes golang/go#44813

Change-Id: Ieca9da35aaa9f5826ab89ded73702bed952e1226
GitHub-Last-Rev: bb7a2353ab64eed7f13bd5b9cb3b85d90b71c0ed
GitHub-Pull-Request: golang/tools#294
Reviewed-on: https://go-review.googlesource.com/c/tools/+/305429
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Trust: Rebecca Stambler <rstambler@golang.org>
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
2021-03-29 19:56:10 +00:00
..
extract_args_returns.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_args_returns.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_basic.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_basic.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_issue_44813.go internal/lsp/source: skip blank identifiers during the function extraction 2021-03-29 19:56:10 +00:00
extract_issue_44813.go.golden internal/lsp/source: skip blank identifiers during the function extraction 2021-03-29 19:56:10 +00:00
extract_redefine.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_redefine.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_return_basic.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_return_basic.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_return_complex.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_return_complex.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_return_func_lit.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_return_func_lit.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_return_init.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_return_init.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_scope.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_scope.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_smart_initialization.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_smart_initialization.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_smart_return.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_smart_return.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_unnecessary_param.go internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00
extract_unnecessary_param.go.golden internal/lsp: remove multi-module support in tests 2020-09-22 16:28:30 +00:00