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

go/types, types2: substitution crashes when GODEBUG=gotypesalias=1 and alias types occur in generic types #65854

Closed
griesemer opened this issue Feb 21, 2024 · 1 comment
Assignees
Labels
NeedsFix The path to resolution is known, but the work has not been done.
Milestone

Comments

@griesemer
Copy link
Contributor

Test case:

// -gotypesalias=1

package p

type A = int

type T[P any] *A

var _ T[int]
@griesemer griesemer added the NeedsFix The path to resolution is known, but the work has not been done. label Feb 21, 2024
@griesemer griesemer added this to the Go1.23 milestone Feb 21, 2024
@griesemer griesemer self-assigned this Feb 21, 2024
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/565835 mentions this issue: go/types, types2: handle Alias types in substitution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsFix The path to resolution is known, but the work has not been done.
Projects
None yet
Development

No branches or pull requests

2 participants