aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/pprof
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2022-08-18 20:16:15 -0700
committerRobert Griesemer <gri@golang.org>2022-08-19 19:39:53 +0000
commitdbc3b44f85e638c2247af02548d8b386996f4d37 (patch)
treefebd9b8fe0103e862c5b186dbd0e03a7c2325c30 /src/runtime/pprof
parent84232b0b89a60d5f66156ddf5cbe9ab64dac4375 (diff)
downloadgo-dbc3b44f85e638c2247af02548d8b386996f4d37.tar.xz
go/types: match types2 errors for incorrect method receiver count
Use "method has no receiver" and "method has multiple receivers" in error messages for invalid receiver counts, matching the corresponding types2 errors. For #54511. Change-Id: I96fc99440d6206c74e9416069db052234baa8248 Reviewed-on: https://go-review.googlesource.com/c/go/+/424934 Reviewed-by: Alan Donovan <adonovan@google.com> Reviewed-by: Robert Findley <rfindley@google.com> Reviewed-by: Robert Griesemer <gri@google.com>
Diffstat (limited to 'src/runtime/pprof')
0 files changed, 0 insertions, 0 deletions