]> Cypherpunks repositories - gostls13.git/commit
[dev.typeparams] go/types: use correct type parameter list in missingMethod
authorRob Findley <rfindley@google.com>
Thu, 3 Jun 2021 14:57:09 +0000 (10:57 -0400)
committerRobert Findley <rfindley@google.com>
Fri, 4 Jun 2021 11:00:45 +0000 (11:00 +0000)
commit090a17c99847166ac25ce33397e6adf83cc40a1d
tree6a3b9262cdfa5ff830f0d02d3c08c9149a508d46
parent62c40878e47c71b1e291e9c3064d76c16a6f9d69
[dev.typeparams] go/types: use correct type parameter list in missingMethod

This is a port of CL 321232 to go/types, adjusted to add a missing
comment and to remove optional support for method type params.

Fixes #46275

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