]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/compile/internal/types2: rename TypeParams to TParamList
authorRobert Findley <rfindley@google.com>
Fri, 13 Aug 2021 15:16:50 +0000 (11:16 -0400)
committerRobert Findley <rfindley@google.com>
Sat, 14 Aug 2021 15:15:20 +0000 (15:15 +0000)
commit49c688e45c9bb8782b3db4df9dcaf163a4965f6d
tree972e17ec2160bf331a84d072580ac81c82c31301
parentb2253c8041511fad5fdcf7514131f972f63a01a0
cmd/compile/internal/types2: rename TypeParams to TParamList

The 'TypeParams' name is too easily confused with the singular
'TypeParam', and does not say anything about what type of collection it
is. We decided that TTuple was not great. TParamList seems OK for now,
though perhaps a better name will emerge.

Change-Id: I5eabdc91b1f666bb4c7ea8acdbebf7c372d19227
Reviewed-on: https://go-review.googlesource.com/c/go/+/341861
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/cmd/compile/internal/noder/writer.go
src/cmd/compile/internal/types2/decl.go
src/cmd/compile/internal/types2/named.go
src/cmd/compile/internal/types2/signature.go
src/cmd/compile/internal/types2/typeparam.go