]> Cypherpunks repositories - gostls13.git/commit
go/types: break cycles in invalid types
authorRobert Griesemer <gri@golang.org>
Wed, 6 Oct 2021 16:33:55 +0000 (09:33 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 6 Oct 2021 19:44:14 +0000 (19:44 +0000)
commit39a4df49674540ba8b835ece03edb8d304941187
tree07ec8371a9bc7efea5643023fd6d37e4239781ab
parent9062a5298bdee895dd9f4e9c07ffd3e261c0ac13
go/types: break cycles in invalid types

This is a clean port of CL 354329 from types2 to go/types.

For #48819.

Change-Id: I9efdcdbfa6432f3cee64d924a4c67ecc6793cf86
Reviewed-on: https://go-review.googlesource.com/c/go/+/354349
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/go/types/decl.go
src/go/types/testdata/fixedbugs/issue41124.go2
src/go/types/testdata/fixedbugs/issue48819.src [new file with mode: 0644]
src/go/types/typeset.go