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: type assertion on generic type fails incorrectly [1.18 backport] #53357

Open
gopherbot opened this issue Jun 13, 2022 · 2 comments
Open
Labels
CherryPickCandidate
Milestone

Comments

@gopherbot
Copy link

@gopherbot gopherbot commented Jun 13, 2022

@randall77 requested issue #53309 to be considered for backport to the next 1.18 minor release.

@gopherbot please open a backport issue to 1.18.

@gopherbot gopherbot added the CherryPickCandidate label Jun 13, 2022
@gopherbot gopherbot added this to the Go1.18.4 milestone Jun 13, 2022
@gopherbot
Copy link
Author

@gopherbot gopherbot commented Jun 13, 2022

Change https://go.dev/cl/411934 mentions this issue: [release-branch.go1.18] cmd/compile: fix missing dict pass for type assertions

@randall77
Copy link
Contributor

@randall77 randall77 commented Jun 13, 2022

This is a bug in the compiler which causes incorrect results for some generics type assertions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CherryPickCandidate
Projects
None yet
Development

No branches or pull requests

2 participants