x/tools/gopls: Inconsistent deep completion for io.ErrUnexpectedEOF #35062
Labels
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
With deep completions enabled I was trying to complete
io.u<>
toio.ErrUnexpectedEOF
in the following code:This resulted in a single suggested completion:
io.ErrUnexpectedEOF.Error()
.However if I type
io.un<>
:I get two suggestions: [
io.ErrUnexpectedEOF
,io.ErrUnexpectedEOF.Error()
].What did you see instead?
I expected the completions to be the same for both cases.
I'm using gopls built from master as of today.
/cc @muirrn @stamblerre
The text was updated successfully, but these errors were encountered: