/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/typeparam/issue51765.go
15 строк
308 B
Matthew Dempsky
cmd/compile: replace Type.OrigSym with Type.OrigType
22 мар 2022, 00:57
22 мар 2022, 00:57
adae6ec
Код
Авторство
О чём код?
// compile // Copyright 2022 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 empty[T any] struct{} func (this *empty[T]) Next() (empty T, _ error) { return empty, nil } var _ = &empty[string]{}