/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/bug324.dir/p.go
15 строк
347 B
Russ Cox
gc: correct handling of unexported method names in embedded interfaces
21 апр 2011, 16:14
21 апр 2011, 16:14
5ff3336
Код
Авторство
О чём код?
// Copyright 2011 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 Exported interface { private() } type Implementation struct{} func (p *Implementation) private() { println("p.Implementation.private()") } var X = new(Implementation)