cl: pkgKind = normal/noinit/decl

This commit is contained in:
xushiwei
2024-04-29 09:51:32 +08:00
parent 7979cfcb06
commit b45172bef1
7 changed files with 115 additions and 26 deletions

View File

@@ -48,7 +48,7 @@ func TestIgnoreName(t *testing.T) {
func TestErrImport(t *testing.T) {
var ctx context
pkg := types.NewPackage("foo", "foo")
ctx.importPkg(pkg)
ctx.importPkg(pkg, nil)
}
func TestErrInitLinkname(t *testing.T) {