1
0
mirror of https://github.com/golang/go synced 2024-11-18 13:24:39 -07:00
go/internal/lsp/testdata
Josh Baum 3c048e20c6 internal/lsp: support return statements in extract function
Previously, users could not extract code that contained a return
statement. Now, users can extract code with return statements, as long
as the statements are nested within an if, case, or other control
flow statement.

Updates golang/go#37170

Change-Id: I2df52d0241517472decabce3666a32392ff257bd
Reviewed-on: https://go-review.googlesource.com/c/tools/+/243650
Run-TryBot: Josh Baum <joshbaum@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-07-28 16:04:03 +00:00
..
lsp internal/lsp: support return statements in extract function 2020-07-28 16:04:03 +00:00
missingdep internal/lsp: add errors for missing modules that don't map to an import 2020-07-24 00:18:24 +00:00
missingtwodep internal/lsp: support extract function 2020-07-20 18:55:41 +00:00
unused internal/lsp: support extract function 2020-07-20 18:55:41 +00:00
upgradedep internal/lsp: support extract function 2020-07-20 18:55:41 +00:00