/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue63333.go
15 строк
374 B
Cuong Manh Le
cmd/compile: do not fatal when typechecking conversion expression
05 окт 2023, 22:44
05 окт 2023, 22:44
38db031
Код
Авторство
О чём код?
// errorcheck -goexperiment fieldtrack // Copyright 2023 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 func f(interface{ m() }) {} func g() { f(new(T)) } // ERROR "m method is marked 'nointerface'" type T struct{} //go:nointerface func (*T) m() {}