x/tools/gopls: support fillstruct for "anonymous struct" struct fields #39929
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
The fix needs to be made at this TODO in the analysisinternal package.
Edited by @stamblerre to add an example. Consider the following struct definition and literal.
Expected:
Currently,
fillstruct
will not even be suggested for theFoo
literal. This can be fixed by addressing the TODO linked above.The text was updated successfully, but these errors were encountered: