mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.typeparams] cmd/compile: switch unified IR from TypeParam.Bound to TypeParam.Constraint
Change-Id: Id68d41f09e78343953167cb1e38fb1ebc41a34d4 Reviewed-on: https://go-review.googlesource.com/c/go/+/338429 Trust: Matthew Dempsky <mdempsky@google.com> Run-TryBot: Matthew Dempsky <mdempsky@google.com> Reviewed-by: Robert Griesemer <gri@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
This commit is contained in:
parent
35dbdda2fe
commit
1d35d8ffa5
1 changed files with 1 additions and 1 deletions
|
|
@ -618,7 +618,7 @@ func (w *writer) objDict(obj types2.Object, dict *writerDict) {
|
||||||
ntparams := tparams.Len()
|
ntparams := tparams.Len()
|
||||||
w.len(ntparams)
|
w.len(ntparams)
|
||||||
for i := 0; i < ntparams; i++ {
|
for i := 0; i < ntparams; i++ {
|
||||||
w.typ(tparams.At(i).Type().(*types2.TypeParam).Bound())
|
w.typ(tparams.At(i).Type().(*types2.TypeParam).Constraint())
|
||||||
}
|
}
|
||||||
|
|
||||||
nderived := len(dict.derived)
|
nderived := len(dict.derived)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue