diff options
author | Robert Griesemer <gri@golang.org> | 2021-07-28 16:58:57 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2021-07-29 21:05:49 +0000 |
commit | 5ecbd811b54f478244b7e54a621f32b5b8e3ea95 (patch) | |
tree | e6956a23dd26c301bf7660634118b865d760eaec /test | |
parent | 46cc68638143770206e0894add7021990a9bec52 (diff) | |
download | go-5ecbd811b54f478244b7e54a621f32b5b8e3ea95.tar.gz go-5ecbd811b54f478244b7e54a621f32b5b8e3ea95.zip |
[dev.typeparams] cmd/compile/internal/types2: (TypeParam) SetBound -> SetConstraint
This matches the accessor named Constraint, and any documentation we have so far.
Use iface instead of Bound internally to types2; keep Bound because of two external
uses but mark it as deprecated. Adjust clients.
Change-Id: Id1a2c2f28259a16082e875eee0534d46cf157336
Reviewed-on: https://go-review.googlesource.com/c/go/+/338196
Trust: Robert Griesemer <gri@golang.org>
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions