github.com/google/go-cmp/cmp.pathStep.typ (field)

15 uses

	github.com/google/go-cmp/cmp (current package)
		compare.go#L395: 		step.typ = t.Field(i).Type
		compare.go#L452: 	step := SliceIndex{&sliceIndex{pathStep: pathStep{typ: t.Elem()}, isSlice: isSlice}}
		compare.go#L538: 	step := MapIndex{&mapIndex{pathStep: pathStep{typ: t.Elem()}}}
		options.go#L319: 	step := Transform{&transform{pathStep{typ: tr.fnc.Type().Out(0)}, tr}}
		path.go#L152: 	typ    reflect.Type
		path.go#L156: func (ps pathStep) Type() reflect.Type             { return ps.typ }
		path.go#L159: 	if ps.typ == nil {
		path.go#L162: 	s := ps.typ.String()
		path.go#L185: func (sf StructField) Type() reflect.Type { return sf.typ }
		path.go#L216: func (si SliceIndex) Type() reflect.Type             { return si.typ }
		path.go#L260: func (mi MapIndex) Type() reflect.Type             { return mi.typ }
		path.go#L273: func (in Indirect) Type() reflect.Type             { return in.typ }
		path.go#L283: func (ta TypeAssertion) Type() reflect.Type             { return ta.typ }
		path.go#L285: func (ta TypeAssertion) String() string                 { return fmt.Sprintf(".(%v)", ta.typ) }
		path.go#L294: func (tf Transform) Type() reflect.Type             { return tf.typ }