1
0
mirror of https://github.com/golang/go synced 2024-11-18 19:54:44 -07:00
go/internal/lsp/source
Suzy Mueller 07655f7ec7 internal/lsp: return an error when renaming a builtin
Return an error when attempting to rename a builtin identifier.

Fixes golang/go#32992

Change-Id: I7fb0f9cc9499e5afdfb14805c49c820e4da3b601
Reviewed-on: https://go-review.googlesource.com/c/tools/+/185246
Run-TryBot: Suzy Mueller <suzmue@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-07-09 18:23:51 +00:00
..
analysis.go internal/lsp: add some trace spans to important functions 2019-07-03 19:14:57 +00:00
completion_format.go internal/lsp: move function signature into detail instead of label 2019-07-03 21:07:46 +00:00
completion_snippet.go internal/lsp: provide deep completion candidates 2019-06-27 18:58:03 +00:00
completion.go internal/lsp/fuzzy: add fuzzy matching library 2019-07-03 21:24:19 +00:00
deep_completion.go internal/lsp: provide deep completion candidates 2019-06-27 18:58:03 +00:00
diagnostics_test.go internal/span: change URI.Filename so it just returns the filename 2019-06-10 21:39:43 +00:00
diagnostics.go internal/lsp: plumb suggested fixes through the LSP 2019-06-26 21:02:18 +00:00
enums.go internal/lsp: switch completion item tests to using the enum strings 2019-04-17 17:57:43 +00:00
format.go internal/lsp: add some trace spans to important functions 2019-07-03 19:14:57 +00:00
highlight.go internal/lsp: add some trace spans to important functions 2019-07-03 19:14:57 +00:00
hover.go internal/lsp: add some trace spans to important functions 2019-07-03 19:14:57 +00:00
identifier.go internal/lsp: add some trace spans to important functions 2019-07-03 19:14:57 +00:00
references.go internal/lsp: add some trace spans to important functions 2019-07-03 19:14:57 +00:00
rename_check.go internal/lsp: check no errs for assignability rename 2019-07-08 20:09:55 +00:00
rename.go internal/lsp: return an error when renaming a builtin 2019-07-09 18:23:51 +00:00
signature_help.go internal/lsp: move function signature into detail instead of label 2019-07-03 21:07:46 +00:00
source_test.go internal/lsp: check no errs for assignability rename 2019-07-08 20:09:55 +00:00
suggested_fix_experimental.go internal/lsp: plumb suggested fixes through the LSP 2019-06-26 21:02:18 +00:00
suggested_fix.go internal/lsp: plumb suggested fixes through the LSP 2019-06-26 21:02:18 +00:00
symbols.go internal/lsp: add some trace spans to important functions 2019-07-03 19:14:57 +00:00
util.go internal/lsp: move function signature into detail instead of label 2019-07-03 21:07:46 +00:00
view.go internal/lsp, internal/imports: use the internal goimports library 2019-07-01 19:45:22 +00:00