TestErrImport

This commit is contained in:
xushiwei
2024-06-17 04:11:31 +08:00
parent 4097f90938
commit ebc9711309
2 changed files with 8 additions and 4 deletions

View File

@@ -28,7 +28,6 @@ import (
"strings"
"github.com/goplus/llgo/cl/blocks"
"github.com/goplus/llgo/internal/packages"
"github.com/goplus/llgo/internal/typepatch"
llssa "github.com/goplus/llgo/ssa"
"golang.org/x/tools/go/ssa"
@@ -1022,9 +1021,6 @@ func NewPackageEx(prog llssa.Program, patches Patches, pkg *ssa.Package, files [
pkg.Pkg = pkgTypes
alt.Pkg = pkgTypes
}
if packages.DebugPackagesLoad {
log.Println("==> NewPackageEx", pkgPath, hasPatch)
}
if pkgPath == llssa.PkgRuntime {
prog.SetRuntime(pkgTypes)
}