/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue74908.go
24 строки
332 B
Keith Randall
cmd/compile: allow multi-field structs to be stored directly in interfaces
14 ноя 2025, 23:37
14 ноя 2025, 23:37
03ed439
Код
Авторство
О чём код?
// compile // Copyright 2025 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 Type struct { any } type typeObject struct { e struct{} b *byte } func f(b *byte) Type { return Type{ typeObject{ b: b, }, } }