x/tools/gopls: completion in interface{} vararg for interface{} value adds invalid "..." #38652
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
Please answer these questions before submitting your issue. Thanks!
What did you do?
Then did a completion inside the
Println
call.What did you expect to see?
v
offered, and when accepted insertsv
to producelog.Println(v)
.What did you see instead?
It inserts
v...
instead, leaving the invalidlog.Println(v...)
.Note that if I type out
v
(rather than manually triggering), then I can get it to not insert...
, but if I re-trigger the completion after thev
and accept it, instead of a no-op it adds...
as well.Logs: https://gist.github.com/zikaeroh/cd93cf199d3eaba8714c937890832859
Build info
Go info
The text was updated successfully, but these errors were encountered: