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: panic in type parameter->type parameter conversion #49864

Closed
findleyr opened this issue Nov 29, 2021 · 1 comment
Closed

go/types, types2: panic in type parameter->type parameter conversion #49864

findleyr opened this issue Nov 29, 2021 · 1 comment
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Milestone

Comments

@findleyr
Copy link
Contributor

Type checking the following program causes a panic (we're missing some nil handling).

package p

func _[P ~int, Q any](p P) {
	_ = Q(p)
}

I'll fix. CC @griesemer

@findleyr findleyr added NeedsFix The path to resolution is known, but the work has not been done. release-blocker labels Nov 29, 2021
@findleyr findleyr added this to the Go1.18 milestone Nov 29, 2021
@findleyr findleyr self-assigned this Nov 29, 2021
@gopherbot
Copy link
Contributor

Change https://golang.org/cl/367616 mentions this issue: go/types, types2: handle case of no specific target types in conversion

@golang golang locked and limited conversation to collaborators Jun 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. release-blocker
Projects
None yet
Development

No branches or pull requests

2 participants