patch library: call init

This commit is contained in:
xushiwei
2024-06-18 18:23:16 +08:00
parent 778a4373ae
commit 8c876c302a
2 changed files with 29 additions and 15 deletions

View File

@@ -234,12 +234,10 @@ func newParams(fn Type, prog Program) (params []Type, hasVArg bool) {
return
}
/*
// Name returns the function's name.
func (p Function) Name() string {
return p.impl.Name()
}
*/
// Params returns the function's ith parameter.
func (p Function) Param(i int) Expr {