x/tools/gopls: no type inference for builtin args in composite literals #43240
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
We aren't giving proper completions in this case:
I presume the composite literal is messing up the "append" param type inference.
Note that we also don't infer the type in this case:
In the first example we need to infer based on the struct field type, and in the second example we need to infer based on the first "append" param type.
The text was updated successfully, but these errors were encountered: