1 // Copyright 2010 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
11 func ifaceE2I(inter *Type, e Eface, ret *Iface) {
15 t = e.__type_descriptor;
17 // explicit conversions require non-nil interface value.
18 runtime_newTypeAssertionError(
19 nil, nil, inter->__reflection,
23 ret->__object = e.__object;
24 ret->__methods = __go_convert_interface(inter, t);