-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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: seg fault with generics, channels and closures #51355
Comments
CC @griesemer |
Looks like we're capturing the dictionary for use in the |
This seems to be an incorrect compilation of a valid program, so marking as a release blocker. CC @danscales |
@randall77 is there evidence that this is related to go/types or types2? Asking due to the issue title. |
@findleyr No, this is definitely backend stuff. |
Change https://go.dev/cl/388115 mentions this issue: |
This bug is re-producable on Go Playground here
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, go1.18.rc1
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Here is link to go playground
It is the same as the link at the top of this post.
What did you expect to see?
The value "test" printed.
What did you see instead?
A segmentation fault.
The text was updated successfully, but these errors were encountered: