]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] go/types: add Named.SetTParams and Named.Orig methods
authorRob Findley <rfindley@google.com>
Thu, 3 Jun 2021 15:37:26 +0000 (11:37 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 7 Jun 2021 17:06:56 +0000 (17:06 +0000)
commit139595207570ae380e3947fa39e43205477b7bba
tree6cd0b1ced1da500e4775ec78fcbea1342e79d395
parent991dca0112c9c81c384b32d413a693ff4751c3ab
[dev.typeparams] go/types: add Named.SetTParams and Named.Orig methods

This is a port of CL 309832 to go/types, adjusted to not export the new
API and to amend TestSizeof.

Change-Id: I67efd3ba9b921c8431528eba1cd88ec1f41898bb
Reviewed-on: https://go-review.googlesource.com/c/go/+/324755
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/sanitize.go
src/go/types/sizeof_test.go
src/go/types/subst.go
src/go/types/type.go