/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue10977.go
20 строк
318 B
Josh Bleecher Snyder
cmd/compile: early typecheck top level OAS2 nodes
09 июн 2015, 03:25
09 июн 2015, 03:25
494ff18
Код
Авторство
О чём код?
// compile // Copyright 2015 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 struct{} var ( t = T{} u = t.New() ) func x(T) (int, int) { return 0, 0 } var _, _ = x(u) func (T) New() T { return T{} }