Skip to content
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

cmd/compile: incorrect runtime panic on switch statement involving generic slice/map/func type [1.18 backport] #53752

Closed
gopherbot opened this issue Jul 8, 2022 · 3 comments

Comments

@gopherbot
Copy link

@cuonglm requested issue #53635 to be considered for backport to the next 1.18 minor release.

@gopherbot please backport this to go1.18

@gopherbot
Copy link
Author

Change https://go.dev/cl/416534 mentions this issue: [release-branch.go1.18] cmd/compile: don't convert to interface{} for un-comparable types in generic switch

@gopherbot gopherbot modified the milestones: Go1.18.4, Go1.18.5 Jul 12, 2022
@mknyszek
Copy link
Contributor

Serious issue without a workaround, approved.

@mknyszek mknyszek added the CherryPickApproved Used during the release process for point releases label Jul 13, 2022
@gopherbot gopherbot removed the CherryPickCandidate Used during the release process for point releases label Jul 13, 2022
@cherrymui
Copy link
Member

This is a generics issue that is not a revert. 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. Generics improvements will land on Go 1.19.x. Thanks.

@cherrymui cherrymui closed this as not planned Won't fix, can't repro, duplicate, stale Jul 27, 2022
@cherrymui cherrymui removed the CherryPickApproved Used during the release process for point releases label Jul 27, 2022
@golang golang locked and limited conversation to collaborators Jul 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants