-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/compile: crash in make running generic code [1.18 backport] #52311
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 test works on tip, fails on Go 1.18 branch. A git bisect suggests that it was fixed by https://go.dev/cl/395594 which reverted https://go.dev/cl/378178. I'm not sure whether we should backport 395594 to the 1.18 branch. CC @randall77 |
Since this is fixed on tip, I'm marking this as a cherry pick candidate for 1.18. |
Any updates on this issue? @randall77 |
Change https://go.dev/cl/411120 mentions this issue: |
CL 395594 doesn't apply cleanly to the 1.18 branch, but the edit is small. I made https://go-review.googlesource.com/c/go/+/411120 , which does seem to fix the issue. @randall77 what do you think? Should we backport the reverting CL? Thanks. |
I think we are still unclear what the best fix it. Also, as we discussed in #53852 (comment) , we will stop backporting non-revert generics issues to 1.18, so we don't destabilize Go 1.18. Maybe we don't backport this one? |
We've discussed this backport request. It was found that backporting individual CLs for generic fixes can cause destabilization and create new issues, so because of that risk we're not going to accept this backport candidate. This problem doesn't exist in Go 1.19 and future major Go releases. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://go.dev/play/p/ys1JxRrYwce
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: