-
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: compiler panic with generics across packages and pointer type parameter #51367
Comments
This builds with CC @danscales @randall77 @griesemer @findleyr Compiler backtrace:
|
Playground link: Marking as a release blocker as this is a valid program that does not compile. |
Thanks! I didn't realise you could include multiple files in the playground, neat :) |
Missing nil check in some code related to structural type params. I'll fix this. |
Change https://go.dev/cl/388116 mentions this issue: |
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.mod
main.go
foo/foo.go
What did you expect to see?
The program compile.
What did you see instead?
The text was updated successfully, but these errors were encountered: