Closed
Description
From #46477 (comment):
The following code snippet causes the Go compiler to panic (https://go.dev/play/p/PBvqgMjEs4S?v=gotip)
package main
type Seq[V any] = func(yield func(V) bool)
func f[E any](seq Seq[E]) {
return
}
func main() {
f(Seq[int](nil))
}
Marking for 1.23 in case it's a trivial oversight that we can easily address. But not a release blocker.
cc: @mdempsky for visibility. This looks like a noder issue.