-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile: failed to compile some recursive generic type #54535
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
|
I can reproduce this problem too. go version devel go1.20-ee833ed Fri Aug 19 01:34:22 2022 +0000 linux/amd64
|
Thanks for the report! Further minimized test case:
This is an issue with pointer shaping. The type |
FYI: bisect shows bad at this CL: https://go-review.googlesource.com/c/go/+/422235. |
@hopehook Thanks, that's not surprising. That CL simply switches the default from FWIW, more useful would be if you can force |
@mdempsky Yes, you are right. |
Change https://go.dev/cl/424936 mentions this issue: |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
tip only
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
What did you expect to see?
What did you see instead?
This might be some regression.
I found this problem while using google/btree.
https://github.com/google/btree
The text was updated successfully, but these errors were encountered: