-
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: ICE with 1.18 program that succeeds with 1.18rc1 #51828
Comments
|
CC @cherrymui in case this is really due to https://go.dev/cl/388995. CC @randall77 because the error message suggests a confusion between shape types and non-shape types. |
cc @danscales |
Removing this line causes the build to succeed: |
Copying the Here's a local-minimum reproduction:
|
This project builds successfully with go1.19beta1. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
go build ./...
in https://github.com/bradenaw/bergamota2e31c7e340800f186e9d382644399305f90e5b2
What did you expect to see?
Build succeeds, like with 1.18rc1:
What did you see instead?
The project is about 1000 lines of code. I can work on a smaller reproduction if that's helpful. Unfortunately the compiler error is not particularly insightful, since it's marked
<autogenerated>:1
. The right type definition looks to my untrained eyes like the expansion of the left.The text was updated successfully, but these errors were encountered: