cmd/compile: method expressions of implicitly defined methods fail #29389
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
release-blocker
Milestone
This fails on tip with
The problem is that it's making a function from a method (the
err.Error
part), but it can't find the original line number of the method declaration. It is the implicit declaration ofError
for the built-inerror
type, which doesn't have a line number.We need a backstop line number for cases where the method declaration is implicit.
The text was updated successfully, but these errors were encountered: