go/types.Builtin.Pkg (method, view implemented interface methods)

48 uses

	go/types (current package)
		builtins.go#L1042: 		if pkg := obj.Pkg(); pkg != nil && pkg.Path() == "simd" && obj.Name() == "_simd" {
		infer.go#L505: 		tname := NewTypeName(tparam.Obj().Pos(), tparam.Obj().Pkg(), tparam.Obj().Name(), nil)
		mono.go#L196: 	if tpar.Obj().Pkg() != pkg {
		mono.go#L219: 			assert(typ.Obj().Pkg() == pkg)
		mono.go#L271: 	if obj.Pkg() != pkg {
		object.go#L114: func (obj *object) Pkg() *Package { return obj.pkg }
		object.go#L469: func (obj *Func) Pkg() *Package { return obj.object.Pkg() }
		sizes.go#L124: 		obj.Pkg() != nil &&
		sizes.go#L125: 		(obj.Pkg().Path() == "sync/atomic" ||
		sizes.go#L126: 			obj.Pkg().Path() == "internal/runtime/atomic")
		subst.go#L215: 					tname := NewTypeName(tp.Obj().Pos(), tp.Obj().Pkg(), tp.Obj().Name(), nil)

	go.pact.im/x/plumb/internal/gotypes
		cmp.go#L217: 	if a.Pkg() != nil {
		cmp.go#L218: 		pa = a.Pkg().Path()
		cmp.go#L220: 	if b.Pkg() != nil {
		cmp.go#L221: 		pb = b.Pkg().Path()
		subst.go#L82: 			fields[i] = types.NewField(f.Pos(), f.Pkg(), f.Name(), s.subst(f.Type()), f.Embedded())
		subst.go#L116: 		vars[i] = types.NewVar(v.Pos(), v.Pkg(), v.Name(), s.subst(v.Type()))

	go.pact.im/x/plumb/internal/solve
		checks.go#L47: 					return diag.Errorf(p.Pos, diag.ErrUnreachableType, "type argument %s of provider %s, from package %q (%s is unexported)", gotypes.TypeName(ta), p.Name, obj.Pkg().Path(), obj.Name())
		checks.go#L54: 				return diag.Errorf(p.Pos, diag.ErrUnreachableType, "conversion target type %s from package %q (%s is unexported)", gotypes.TypeName(p.ConvertTo), obj.Pkg().Path(), obj.Name())
		checks.go#L65: 			return diag.Errorf(pl.pos, diag.ErrUnreachableType, "injector input type %s, from package %q (%s is unexported)", gotypes.TypeName(t), obj.Pkg().Path(), obj.Name())
		checks.go#L73: 			return diag.Errorf(pl.pos, diag.ErrUnreachableType, "injector output type %s, from package %q (%s is unexported)", gotypes.TypeName(t), obj.Pkg().Path(), obj.Name())
		checks.go#L90: 			return diag.Errorf(pl.pos, diag.ErrUnreachableType, "lifted type parameter %s has a constraint from package %q (%s is unexported)", tp.Obj().Name(), obj.Pkg().Path(), obj.Name())
		checks.go#L125: 		if pkg := tn.Pkg(); pkg != nil && pkg.Path() != destPath && !tn.Exported() {

	golang.org/x/exp/apidiff
		apidiff.go#L331: 			vars = append(vars, types.NewVar(v.Pos(), v.Pkg(), "", v.Type()))
		correspondence.go#L168: 	if oldname.Pkg() == d.old && oldname.Exported() && !isInstantiated(old) {
		correspondence.go#L212: 		if oobj.Pkg() != d.old || nobj.Pkg() != d.new {
		correspondence.go#L219: 			if oobj.Pkg() != nil {
		correspondence.go#L220: 				opath = oobj.Pkg().Path()
		correspondence.go#L222: 			if nobj.Pkg() != nil {
		correspondence.go#L223: 				npath = nobj.Pkg().Path()
		correspondence.go#L249: 		if old.Obj().Pkg() != d.old {

	golang.org/x/tools/go/types/objectpath
		objectpath.go#L513: 		if tname.Pkg() != nil && tname.Pkg() != tr.pkg {

	golang.org/x/tools/internal/gcimporter
		iexport.go#L677: 		w.typ(obj.Type(), obj.Pkg())
		iexport.go#L713: 		w.value(obj.Type(), obj.Val(), obj.Pkg())
		iexport.go#L729: 			w.typ(constraint, obj.Pkg())
		iexport.go#L747: 				w.tparamList(obj.Name(), tparams, obj.Pkg())
		iexport.go#L754: 			w.typ(t, obj.Pkg())
		iexport.go#L774: 			w.tparamList(obj.Name(), named.TypeParams(), obj.Pkg())
		iexport.go#L778: 		w.typ(underlying, obj.Pkg())
		iexport.go#L792: 				w.tparamList(obj.Name()+"."+m.Name(), sig.TypeParams(), obj.Pkg())
		iexport.go#L932: 	w.pkg(obj.Pkg())
		iexport.go#L1055: 			fieldPkg = t.Field(0).Pkg()

	golang.org/x/tools/internal/typesinternal
		isnamed.go#L23: 			tname.Pkg().Path() == pkgPath &&
		zerovalue.go#L291: 		pkgName := qual(t.Obj().Pkg())
		zerovalue.go#L292: 		if pkgName == "" || t.Obj().Pkg() == nil {
		zerovalue.go#L306: 		if pkgName := qual(t.Obj().Pkg()); pkgName != "." && pkgName != "" {