/ go Public
x/tools/gopls: completion incorrectly offers embedded field shadowed by outer field #60069
Issues related to auto-completion in gopls.
Issues related to the Go language server, gopls.
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
This label describes issues relating to any tools in the x/tools repository.
What version of Go are you using (
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
What did you do?
With the following input file:
The cursor at the position
Attempt a completion.
What did you expect to see?
The single candidate
What did you see instead?
The completion text for both is the plain
logger. So this can't be correct, as the
outer.loggershadows the embedded
The text was updated successfully, but these errors were encountered: