cmd/compile: impossible type assertion reports wrong signature for methods that don't match in case #50816
Labels
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
No.
What did you do?
https://go.dev/play/p/M_0U_6fSpFp
What did you expect to see?
What did you see instead?
The compiler complains about the wrong signature even though the method names don't match, which I think is the more important error to report. Bisects to 429d1e0.
/cc @danscales
The text was updated successfully, but these errors were encountered: