]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: consistently report "duplicate method" error in go1.13
authorRobert Griesemer <gri@golang.org>
Wed, 13 Mar 2024 15:56:06 +0000 (08:56 -0700)
committerGopher Robot <gobot@golang.org>
Thu, 14 Mar 2024 23:23:41 +0000 (23:23 +0000)
commit502347f121774317a7580c03804f19851af47baf
tree422f39a49ad2877a4fbc5cee170ec5abfd037794
parent133c8fc9bb0f5f9a16a0756ba61990cae1e64008
go/types, types2: consistently report "duplicate method" error in go1.13

Go 1.13 is not supported anymore, but this CL removes an unnecessary
check and in turn fixes an old bug.

Fixes #66285.

Change-Id: I15ee1712b31f8ac8c915f18410d99cbf44334d35
Reviewed-on: https://go-review.googlesource.com/c/go/+/571058
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Robert Griesemer <gri@google.com>
src/cmd/compile/internal/types2/typeset.go
src/go/types/typeset.go
src/internal/types/testdata/fixedbugs/issue66285.go [new file with mode: 0644]