diff options
| author | Rob Findley <rfindley@google.com> | 2023-05-12 10:27:33 -0400 |
|---|---|---|
| committer | Robert Findley <rfindley@google.com> | 2023-05-12 14:53:44 +0000 |
| commit | 2ce84c3a6e14bc2720ca635cb38cac565fab0d9b (patch) | |
| tree | 5b6bd536c535b0a16657de7af4c1fe313c3ed5a8 /src/strings | |
| parent | ed3ea520812e314b2948ae39267105fa517bd9fe (diff) | |
| download | go-2ce84c3a6e14bc2720ca635cb38cac565fab0d9b.tar.xz | |
go/types, types2: be sure to type-check wrong methods in missingMethod
In the case of a wrong method, we were not ensuring that it was
type-checked before passing it to funcString.
Formatting the missing method error message requires a fully set-up
signature.
Fixes #59848
Change-Id: I1467e036afbbbdd00899bfd627a945500dc709c2
Reviewed-on: https://go-review.googlesource.com/c/go/+/494615
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Robert Findley <rfindley@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/strings')
0 files changed, 0 insertions, 0 deletions
