golang/go
在 GitHub 查看reflect: StructOf should support embedding types with non-exported methods
Open
#20,015 建立於 2017年4月17日
NeedsFixcompiler/runtimehelp wanted
倉庫指標
- Star
- (133,883 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
There's this code in reflect/type.go:
if ift.nameOff(m.name).pkgPath() != "" {
// TODO(sbinet)
panic("reflect: embedded interface with unexported method(s) not implemented")
}
See also #5748.