]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: better error if there's a field with the name of a missing method
authorRobert Griesemer <gri@golang.org>
Wed, 5 Oct 2022 01:40:38 +0000 (18:40 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 12 Oct 2022 23:03:51 +0000 (23:03 +0000)
commit79d0d330a9340d9e3ccb331660eb74f30e2edd01
treeff8e4c8315567d03c67436c2ccfbd0ba7f62cea3
parent19095e109d0ae037828c519dda0af307b8a01813
go/types, types2: better error if there's a field with the name of a missing method

Fixes #51025.

Change-Id: I469a705e7da059e7ac0b12b05beb9ed5d3617396
Reviewed-on: https://go-review.googlesource.com/c/go/+/438856
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Griesemer <gri@google.com>
src/cmd/compile/internal/types2/lookup.go
src/go/types/lookup.go
src/internal/types/testdata/fixedbugs/issue51025.go [new file with mode: 0644]