cmd/compile: go:linkname no longer works for type's method #63846
Labels
compiler/runtime
Issues related to the Go compiler and/or runtime.
FrozenDueToAge
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
go version
)?1.20.1
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?What did you do?
i write this code to explain:
What did you expect to see?
at go1.19, i could run this program without compile error, the
go:linkname
works fineWhat did you see instead?
and i print the context before the compile bad exit , i found the scope just contains funcdecl and typedecl, no type method decl
The text was updated successfully, but these errors were encountered: