]> Cypherpunks repositories - gostls13.git/commit
go/types: fix indexing of generic types
authorRobert Findley <rfindley@google.com>
Tue, 2 Nov 2021 22:36:36 +0000 (18:36 -0400)
committerRobert Findley <rfindley@google.com>
Wed, 3 Nov 2021 00:07:10 +0000 (00:07 +0000)
commit2b81b863a258decaaca26ab4c01bfd070cc01ebe
treec7a78f764ea66689bbc745d64eb55435db1803ba
parentd6f7203a3c63276680457b9794191a366a1a4401
go/types: fix indexing of generic types

This is a clean port of CL 360603 to go/types.

Change-Id: Iadb312f07e509ff83339d5525765b7b7987bf233
Reviewed-on: https://go-review.googlesource.com/c/go/+/360936
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/index.go
src/go/types/testdata/check/typeparams.go2