]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] go/types: embedding stand-alone type parameters is not permitted
authorRob Findley <rfindley@google.com>
Sat, 17 Jul 2021 00:57:10 +0000 (20:57 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 19 Jul 2021 17:09:54 +0000 (17:09 +0000)
commit7e714f448eaf2c489c32bfff5c00f5f5ad6ea289
tree36508332e907861ca152433d61b3ab9f5ca3e8c3
parent82f875d735fd07957a2224d2c73c677ddfdeef0d
[dev.typeparams] go/types: embedding stand-alone type parameters is not permitted

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

Fixes #47127

Change-Id: I57d69c498d2649a9e1657559e4c0271333096c88
Reviewed-on: https://go-review.googlesource.com/c/go/+/335082
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/testdata/check/issues.go2
src/go/types/testdata/check/tinference.go2
src/go/types/testdata/fixedbugs/issue39634.go2
src/go/types/testdata/fixedbugs/issue39680.go2
src/go/types/testdata/fixedbugs/issue39948.go2
src/go/types/testdata/fixedbugs/issue47127.go2 [new file with mode: 0644]
src/go/types/typeset.go
src/go/types/union.go