type go/types.Union

29 uses

	go/types (current package)
		builtins.go#L814: 	case *Named, *Union:
		check.go#L128: 	unionTypeSets map[*Union]*_TypeSet      // computed type sets for union types
		infer.go#L748: 	case *Union:
		predicates.go#L301: 	case *Union:
		predicates.go#L302: 		if y, _ := y.(*Union); y != nil {
		predicates.go#L305: 			unionSets := make(map[*Union]*_TypeSet)
		sizes.go#L79: 	case *TypeParam, *Union:
		sizes.go#L161: 	case *TypeParam, *Union:
		subst.go#L150: 	case *Union:
		subst.go#L156: 			return &Union{terms}
		typeset.go#L195: 	var unionSets map[*Union]*_TypeSet
		typeset.go#L198: 			check.unionTypeSets = make(map[*Union]*_TypeSet)
		typeset.go#L202: 		unionSets = make(map[*Union]*_TypeSet)
		typeset.go#L287: 		case *Union:
		typeset.go#L393: func computeUnionTypeSet(check *Checker, unionSets map[*Union]*_TypeSet, pos token.Pos, utyp *Union) *_TypeSet {
		typestring.go#L187: 	case *Union:
		union.go#L16: type Union struct {
		union.go#L22: func NewUnion(terms []*Term) *Union {
		union.go#L26: 	return &Union{terms}
		union.go#L29: func (u *Union) Len() int         { return len(u.terms) }
		union.go#L30: func (u *Union) Term(i int) *Term { return u.terms[i] }
		union.go#L32: func (u *Union) Underlying() Type { return u }
		union.go#L33: func (u *Union) String() string   { return TypeString(u, nil) }
		union.go#L75: 			u = &Union{terms}
		union.go#L157: 		check.recordTypeAndValue(tx, typexpr, &Union{[]*Term{term}}, nil)
		validtype.go#L49: 	case *Union:

	golang.org/x/tools/internal/gcimporter
		ureader_yes.go#L407: func (r *reader) unionType() *types.Union {

	golang.org/x/tools/internal/typeparams
		typeparams_go118.go#L119: type Union = types.Union