]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] go/types: use InstantiateLazy to create instance types (cleanup)
authorRob Findley <rfindley@google.com>
Fri, 16 Jul 2021 23:58:59 +0000 (19:58 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 19 Jul 2021 17:07:35 +0000 (17:07 +0000)
commit22f39ba208189413440671c63baca7173d1d4774
tree20804178f7f3413a61b89800b3c160d165ffda45
parent4a72be87b354e7ae641ccebfb57242ee24c8d7f4
[dev.typeparams] go/types: use InstantiateLazy to create instance types (cleanup)

This is a port of CL 333669 to go/types, adjusted for the position and
IndexExpr APIs, and excluding the noder changes.

Change-Id: I3ac4bbf271947c3cf80ab04c462a91657316f4fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/335073
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/instance.go
src/go/types/instantiate.go
src/go/types/typexpr.go