-
Notifications
You must be signed in to change notification settings - Fork 18k
runtime: result of (*runtime.Func).Name
is malformed in go1.24
#71835
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is a runtime API but the names come from the compiler. CC @golang/compiler |
@dr2chase In triage, we think that this might be related to more aggressive inlining of once-called closures? |
Possibly helped by CL 639515? |
I checked the output before and after
For reference, output with mentioned https://go.dev/cl/639515:
I think this issue can be closed in favor of #60324 |
go version:
go version go1.24.0 linux/amd64
Consider the following code:
With go1.23 (https://go.dev/play/p/ZfX43aWfcTe?v=goprev) I get this output:
With go1.24 (https://go.dev/play/p/ZfX43aWfcTe):
Note the following changes:
foo
is repeated twice:main.foo.foo.func1.func2
func3
andfunc4
The text was updated successfully, but these errors were encountered: