Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/tools/gopls: Inconsistent deep completion for io.ErrUnexpectedEOF #35062
With deep completions enabled I was trying to complete
This resulted in a single suggested completion:
However if I type
I get two suggestions: [
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
With the changes applied
I think my core concern was getting a deeper suggestion when matching on characters only found in the shallower field (and not getting the shallower completion as an option). I think you've addressed that issue here.