]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] go/types: (TypeParam) SetBound -> SetConstraint
authorRob Findley <rfindley@google.com>
Wed, 4 Aug 2021 01:14:31 +0000 (21:14 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 4 Aug 2021 11:07:19 +0000 (11:07 +0000)
commit3efc8f9a8dc93ccacb8b139cafc44ee0709d8fdd
treea710ea8911775f34ef3c8dbdd667244b0ac43dfe
parented3667d0795c6567dc5635d6c5c38c2abff4c8e4
[dev.typeparams] go/types: (TypeParam) SetBound -> SetConstraint

This is a straightforward port of CL 338196 to go/types, minus the
deprecated TypeParam.Bound() method (since it is not needed), plus an
adjustment for methodset.go.

Change-Id: Ie372bfeec245094102a2c3257a43499d75981447
Reviewed-on: https://go-review.googlesource.com/c/go/+/339675
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/builtins.go
src/go/types/call.go
src/go/types/instantiate.go
src/go/types/lookup.go
src/go/types/methodset.go
src/go/types/predicates.go
src/go/types/type.go
src/go/types/typeparam.go