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: panic when the type declaration is in a function scope #39643
Comments
Change https://golang.org/cl/238619 mentions this issue: |
Change https://golang.org/cl/238620 mentions this issue: |
Thanks for the test case. The translation tool does not support function-local parameterized types. It will now give an error message rather than panicking. |
Fixes #39643 Change-Id: I45aaaf8818d4d383d1514891b5cc9bc68926ad97 Reviewed-on: https://go-review.googlesource.com/c/go/+/238619 Reviewed-by: Ian Lance Taylor <iant@golang.org>
…es don't work For #39643 Change-Id: Ic3d3e4a4bd46c62705d3ce3473e3e06e1380d834 Reviewed-on: https://go-review.googlesource.com/c/go/+/238620 Reviewed-by: Ian Lance Taylor <iant@golang.org>
What version of Go are you using (
go version
)?n/a
Does this issue reproduce with the latest release?
n/a
What operating system and processor architecture are you using (
go env
)?n/a
What did you do?
https://go2goplay.golang.org/p/FR8zgiBiF2T
What did you expect to see?
Compilation succeeds
What did you see instead?
The text was updated successfully, but these errors were encountered: