1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:04:45 -07:00
go/internal/lsp/testdata
Pontus Leitzler b303f430e3 internal/analysisinternal: add anonymous structs & interfaces to
Fillstruct wasn't able to fill structs with fileds that held anonymous
structs or maps with anonymous structs/interfaces.

By adding *types.Struct and *types.Interface support in TypeExpr(),
fillstruct is now works for those as well.

Fixes golang/go#40980

Change-Id: I2a1d6d4db237800197cf14e3ad5067a0e7ab701a
Reviewed-on: https://go-review.googlesource.com/c/tools/+/249999
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2020-08-25 20:24:27 +00:00
..
lsp internal/analysisinternal: add anonymous structs & interfaces to 2020-08-25 20:24:27 +00:00
missingdep internal: add call hierarchy cmd and lsp scaffolding 2020-08-07 20:22:52 +00:00
missingtwodep internal: add call hierarchy cmd and lsp scaffolding 2020-08-07 20:22:52 +00:00
unused internal/lsp/cache: refactor go mod tidy error logic 2020-08-07 22:43:23 +00:00
upgradedep internal/lsp/mod: add go mod vendor and go mod tidy lenses 2020-08-18 00:58:47 +00:00