]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: factor out type parameter access into genericType
authorRobert Griesemer <gri@golang.org>
Thu, 25 Apr 2024 23:10:22 +0000 (16:10 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 15 May 2024 21:33:05 +0000 (21:33 +0000)
commit3c8f9256067bb3917d7cae05cffdb56dc29e4b3c
treef9a8973dc3be691a0a35f8ea519975d906d59b52
parentbf279b71e247f9676ec18d636b9f70669b653924
go/types, types2: factor out type parameter access into genericType

Also, remove types2.Signature.SetTypeParams as it is not used
and does not exist in go/types.

Change-Id: I16c3ae988988d3735907e9c6c56e8626497ea405
Reviewed-on: https://go-review.googlesource.com/c/go/+/581817
Reviewed-by: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/instantiate.go
src/cmd/compile/internal/types2/signature.go
src/go/types/instantiate.go