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/go2go: generated code leads to cmd/compile internal error #40486

Open
griesemer opened this issue Jul 30, 2020 · 2 comments
Open

cmd/go2go: generated code leads to cmd/compile internal error #40486

griesemer opened this issue Jul 30, 2020 · 2 comments
Assignees
Milestone

Comments

@griesemer
Copy link
Contributor

@griesemer griesemer commented Jul 30, 2020

@gopherbot
Copy link

@gopherbot gopherbot commented Jul 30, 2020

Change https://golang.org/cl/245742 mentions this issue: [dev.go2go] go/types: add testcase for crash 9 of #39634

gopherbot pushed a commit that referenced this issue Jul 30, 2020
This test passes type-checking without problems but the
generated code causes a cmd/compile error (filed #40486).

Updates #39634.

Change-Id: If3dd28605f6d8792c6bd5bb032624e9a6140b2c0
Reviewed-on: https://go-review.googlesource.com/c/go/+/245742
Reviewed-by: Robert Griesemer <gri@golang.org>
@ianlancetaylor
Copy link
Contributor

@ianlancetaylor ianlancetaylor commented Jul 30, 2020

This does not get a compiler crash if I translate it and then go build with current tip. So the crash will probably be fixed if we update dev.go2go to current mainline.

That said it does get an error with tip, so there is something wrong with the translation tool.

@ianlancetaylor ianlancetaylor self-assigned this Jul 30, 2020
@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Jul 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.