/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/typeparam/issue46461.go
13 строк
263 B
Robert Griesemer
go/types, types2: permit type cycles through type parameter lists
14 окт 2025, 00:27
14 окт 2025, 00:27
1abc6b0
Код
Авторство
О чём код?
// compile // Copyright 2021 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 T[U interface{ M() T[U] }] int type X int func (X) M() T[X] { return 0 }