x/tools/gopls: support slices with textDocument/typeDefinition #45029
Labels
Documentation
FeatureRequest
FrozenDueToAge
gopls
Issues related to the Go language server, gopls.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Send a
textDocument/typeDefinition
request for a field whose type is a slice.What did you expect to see?
A response that refers to the definition of the type of the slice or an error whose message clearly indicates that getting the location of the type definition for the slice type is not supported.
e.g. given
What did you see instead?
And error response whose message is
start pos is not valid
ref: fatih/vim-go#3174
The text was updated successfully, but these errors were encountered: