]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.17] go/types: break cycles in invalid types
authorRobert Griesemer <gri@golang.org>
Wed, 6 Oct 2021 16:33:55 +0000 (09:33 -0700)
committerMichael Knyszek <mknyszek@google.com>
Wed, 1 Dec 2021 23:34:46 +0000 (23:34 +0000)
commit66007e5cfc9e151485791d440b7e67d44af1b29f
tree763d05fb8a9e6edb0638829003a480d9b3342280
parent3c50f2739136bb4a6ff529c6ec975723a047a741
[release-branch.go1.17] go/types: break cycles in invalid types

This is a partial port of CL 354329 from types2 to go/types.
It contains an adjustment to type.go to deal with possibly
invalid type bounds.

Fixes #48825.
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>
Reviewed-on: https://go-review.googlesource.com/c/go/+/368456
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
src/go/types/decl.go
src/go/types/testdata/fixedbugs/issue48819.src [new file with mode: 0644]
src/go/types/type.go