x/tools/gopls: pointer to struct value field/method candidates not offered in type switch #38564
Labels
gopls
Issues related to the Go language server, gopls.
help wanted
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?
I haven't been able to reduce the example to anything smaller than this unfortunately:
Attempting completion after
node.
in the*ast.HTMLBlock:
case does not give any of the field/method candidates that should be offered for a value of type*ast.HTMLBlock
. Instead we get:Candidates
What did you expect to see?
The field/method candidates for the
*ast.HTMLBlock
value.What did you see instead?
As above
cc @stamblerre @muirdm
FYI @leitzler
The text was updated successfully, but these errors were encountered: