internal/runtime: funcStr, interfaceStr, array str

This commit is contained in:
visualfc
2024-12-20 12:33:34 +08:00
parent d251232f8a
commit ef28abe896
15 changed files with 95 additions and 44 deletions

View File

@@ -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)
}
}