/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue44266.go
23 строки
364 B
Robert Griesemer
go/types, types2: more concise error messages for cycle errors
29 сен 2022, 17:21
29 сен 2022, 17:21
e22af33
Код
Авторство
О чём код?
// errorcheck // 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 import "io" type T1 interface { io.Reader } type T2 struct { io.SectionReader } type T3 struct { // ERROR "invalid recursive type: T3 refers to itself" T1 T2 parent T3 }