/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue49005a.go
13 строк
264 B
Robert Griesemer
cmd/compile, types2: avoid confusing follow-on error in invalid type assertion
17 окт 2021, 07:27
17 окт 2021, 07:27
cf51fb5
Код
Авторство
О чём код?
// 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 type T interface{ M() } func F() T var _ = F().(*X) // ERROR "undefined: X"