/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/typeparam/issue52124.go
21 строка
374 B
Matthew Dempsky
cmd/compile/internal/noder: suppress unionType consistency check
17 май 2023, 00:34
17 май 2023, 00:34
7240d7e
Код
Авторство
О чём код?
// 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 Any any type IntOrBool interface{ int | bool } type I interface{ Any | IntOrBool } var ( X I = 42 Y I = "xxx" Z I = true ) type A interface{ *B | int } type B interface{ A | any }