cl: TestImport/TestVarOf

This commit is contained in:
xushiwei
2024-04-26 05:39:15 +08:00
parent 815a8a74fc
commit 2c3e1d1055
2 changed files with 29 additions and 1 deletions

View File

@@ -182,7 +182,7 @@ func (p *context) compileFunc(pkg llssa.Package, pkgTypes *types.Package, f *ssa
return
}
if debugInstr {
log.Println("==> NewFunc", f.Name(), name, "type:", sig.Recv(), sig)
log.Println("==> NewFunc", name, "type:", sig.Recv(), sig)
}
fn := pkg.NewFunc(name, sig)
p.inits = append(p.inits, func() {