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: internal compiler error: evconst changed Type #23414
Comments
Since this is broken on Go1.9, the fix can probably wait till Go1.11. |
Works with Go 1.8, though. |
I guess the issue has been occured since 26be4b9. |
Change https://golang.org/cl/91316 mentions this issue: |
The test case can be further minimized to just:
The problem is this is generating a function like
This is getting optimized to
but for some reason the |
Change https://golang.org/cl/94022 mentions this issue: |
Was playing around with #23413 and managed to get this compiler error.
This crashes on Go1.9 and on:
\cc @randall77 @mdempsky
The text was updated successfully, but these errors were encountered: