]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] go/types: switch the TArgs API to NumTArgs/TArg
authorRob Findley <rfindley@google.com>
Wed, 4 Aug 2021 14:43:08 +0000 (10:43 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 4 Aug 2021 23:23:45 +0000 (23:23 +0000)
commit0ec2a8b42d1aa94629ffebdb8f501435cfd14980
tree191d81736098c1d598ffa4b2a9dd1d06cef197fc
parente5fe769be15e60a1f4626cf30fb1f560cb9f317f
[dev.typeparams] go/types: switch the TArgs API to NumTArgs/TArg

As with other go/types APIs, we should not expose the underlying
Named.targs slice.

Change-Id: Iba869298fbd3856022ffe8ec2c3273341598c324
Reviewed-on: https://go-review.googlesource.com/c/go/+/340009
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/named.go