]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] go/types: delay interface check for type bounds
authorRob Findley <rfindley@google.com>
Fri, 16 Jul 2021 14:27:17 +0000 (10:27 -0400)
committerRobert Findley <rfindley@google.com>
Fri, 16 Jul 2021 23:34:00 +0000 (23:34 +0000)
commit0f4198b5e287a655a6f2f67c9b5bdc758c9eae1e
tree17d41b59751eaa8be61b58e293ddef91f67db383
parent5f50a6442e25c406bea7f2a967f2080f89b4e0f6
[dev.typeparams] go/types: delay interface check for type bounds

This is a port of CL 331690 to go/types. It diverges from that CL due to
the different representation of Fields in the AST.

Change-Id: I3ae9ac3a0172dc58ac748f28772d87b00db0732a
Reviewed-on: https://go-review.googlesource.com/c/go/+/335034
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/decl.go
src/go/types/testdata/fixedbugs/issue40789.go2 [new file with mode: 0644]
src/go/types/type.go