]> Cypherpunks.ru repositories - gostls13.git/commit
go/types: do not declare new methods on instantiated types
authorRobert Findley <rfindley@google.com>
Tue, 31 Aug 2021 21:09:47 +0000 (17:09 -0400)
committerRobert Findley <rfindley@google.com>
Tue, 31 Aug 2021 22:47:49 +0000 (22:47 +0000)
commitb2f09cd717169cbad41bfc614f0b70b13edbc74a
tree3c826ef41475095d0736e385012f66d929baacd1
parent5e9ba0b1bd62f1c4196173806aa69b567006056c
go/types: do not declare new methods on instantiated types

This is a port of CL 345472 to go/types.

Change-Id: I0e2a88909ecebe9dea3325244153f5c74e4c3ce7
Reviewed-on: https://go-review.googlesource.com/c/go/+/346553
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Robert Griesemer <gri@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
src/go/types/signature.go
src/go/types/testdata/fixedbugs/issue47968.go2 [new file with mode: 0644]