/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/typeparam/issue53254.go
19 строк
304 B
Wayne Zuo
cmd/compile: don't use dictionary convert to shaped empty interface
23 июн 2022, 01:14
23 июн 2022, 01:14
ff17b7d
Код
Авторство
О чём код?
// 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 main type Interface[T any] interface { } func F[T any]() Interface[T] { var i int return i } func main() { F[int]() }