internal/runtime: funcStr, interfaceStr, array str
This commit is contained in:
@@ -187,7 +187,7 @@ func (b Builder) abiInterfaceOf(t *types.Interface) func() Expr {
|
||||
fn := pkg.rtFunc("Interface")
|
||||
tSlice := lastParamType(prog, fn)
|
||||
methodSlice := b.SliceLit(tSlice, methods...)
|
||||
return b.Call(fn, b.Str(pkg.Path()), b.Str(""), methodSlice)
|
||||
return b.Call(fn, b.Str(pkg.Path()), methodSlice)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user