]> Cypherpunks repositories - gostls13.git/commit
go/types: report error for incomplete struct composite literal type
authorRobert Findley <rfindley@google.com>
Tue, 9 Nov 2021 19:20:11 +0000 (14:20 -0500)
committerRobert Findley <rfindley@google.com>
Tue, 9 Nov 2021 22:14:26 +0000 (22:14 +0000)
commit1c86beeadfc7a370048ad58f76b1b60b5bcd06ee
tree6716b7081098576a0fc6fbf4e6a514ef0e9686db
parentcb908f1d4dd24dad17105022df7b0e96ac1d6988
go/types: report error for incomplete struct composite literal type

This is a port of CL 361412 to go/types.

Change-Id: Ie5bccc7faba7ca9230e712f867b27ca9dcddba79
Reviewed-on: https://go-review.googlesource.com/c/go/+/362739
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/expr.go
src/go/types/struct.go
src/go/types/subst.go
src/go/types/testdata/fixedbugs/issue49276.go2 [new file with mode: 0644]