/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue68054.go
23 строки
357 B
Cherry Mui
all: delete aliastypeparams GOEXPERIMENT
12 авг 2025, 16:28
12 авг 2025, 16:28
00a7bdc
Код
Авторство
О чём код?
// compile // Copyright 2024 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package p type Seq[V any] = func(yield func(V) bool) func f[E any](seq Seq[E]) { return } func g() { f(Seq[int](nil)) } type T[P any] struct{} type A[P any] = T[P] var _ A[int]