lsp/protocol: make sure RenameProvider is an interface{}

CL 208272 made one occurrence of RenameProvider an interface{}.
This CL reflects the effect of making that change in the code
generator. (That is, the other occurrence of RenameProvider is now
an interface{} too.) gopls seems to still work, and all tests pass.

Change-Id: Icfc4a5639192c46b564509a601b8c03bbe2665a2
Reviewed-on: https://go-review.googlesource.com/c/tools/+/209158
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
Peter Weinberger 2019-11-27 09:10:03 -05:00
parent 99399511c1
commit c1736c0f0a
1 changed files with 2 additions and 2 deletions

View File

@ -1882,7 +1882,7 @@ type InnerServerCapabilities struct {
* specified if the client states that it supports
* `prepareSupport` in its initial `initialize` request.
*/
RenameProvider RenameOptions/*boolean | RenameOptions*/ `json:"renameProvider,omitempty"`
RenameProvider interface{}/*boolean | RenameOptions*/ `json:"renameProvider,omitempty"`
/**
* The server provides folding provider support.
*/
@ -3685,7 +3685,7 @@ const (
WatchDelete WatchKind = 4
)
// Types created to avoid struct in formal parameters and embedded structs
// Types created to name formal parameters and embedded structs
type ParamConfiguration struct {
ConfigurationParams
PartialResultParams