]> Cypherpunks.ru repositories - gostls13.git/commit
go/types: fix method lookup for type-parameter based types
authorRobert Griesemer <gri@golang.org>
Tue, 17 Aug 2021 18:55:39 +0000 (11:55 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 17 Aug 2021 20:57:50 +0000 (20:57 +0000)
commit0f85b0c0e1dc96a165645bf6da3693e8a3603ebc
treeaf3af1a63583dfcfa2a19d2f64f41490ed99c89c
parent9d9e3291faee4b01165247956e8555eb1bb291f1
go/types: fix method lookup for type-parameter based types

This is a clean port of CL 342990.

Fixes #47747.

Change-Id: I2e86fb8b70d42a220ac1ba25798d9e58227ba5f6
Reviewed-on: https://go-review.googlesource.com/c/go/+/342991
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>
src/go/types/lookup.go
src/go/types/testdata/fixedbugs/issue47747.go2 [new file with mode: 0644]