debug why runtime.Basic doesn't work

This commit is contained in:
xushiwei
2024-05-01 12:32:09 +08:00
parent 666808b427
commit 8ae97f73d0
7 changed files with 98 additions and 63 deletions

View File

@@ -57,6 +57,10 @@ func GenFrom(fileOrPkg string) string {
return rt[0].Types
})
if Verbose {
ssaPkg.WriteTo(os.Stderr)
}
ret, err := cl.NewPackage(prog, ssaPkg, pkg.Syntax)
check(err)