reflect.Type.String (method)

49 uses

	reflect (current package)
		iter.go#L116: 	panic("reflect: " + v.Type().String() + " cannot produce iter.Seq[Value]")
		iter.go#L172: 	panic("reflect: " + v.Type().String() + " cannot produce iter.Seq2[Value, Value]")
		type.go#L101: 	String() string
		value.go#L440: 			panic("reflect: " + op + " using " + xt.String() + " as type " + stringFor(targ))
		value.go#L451: 				panic("reflect: cannot use " + xt.String() + " as type " + elem.String() + " in " + op)
		value.go#L2354: 	return "<" + v.Type().String() + " Value>"
		value.go#L2566: 		panic(what + ": " + t1.String() + " != " + t2.String())
		value.go#L3084: 		panic("reflect.Value.Convert: value of type " + stringFor(v.typ()) + " cannot be converted to type " + t.String())
		value.go#L3221: 	panic("reflect.Value.Equal: values of type " + v.Type().String() + " are not comparable")

	encoding/asn1
		asn1.go#L984: 	err = StructuralError{"unsupported: " + v.Type().String()}
		asn1.go#L1101: 		return "asn1: Unmarshal recipient value is non-pointer " + e.Type.String()
		asn1.go#L1103: 	return "asn1: Unmarshal recipient value is nil " + e.Type.String()

	encoding/binary
		binary.go#L282: 		return errors.New("binary.Read: invalid type " + reflect.TypeOf(data).String())
		binary.go#L319: 		return 0, errors.New("binary.Decode: invalid type " + reflect.TypeOf(data).String())
		binary.go#L426: 		return errors.New("binary.Write: some values are not fixed-sized in type " + reflect.TypeOf(data).String())
		binary.go#L455: 		return 0, errors.New("binary.Encode: some values are not fixed-sized in type " + reflect.TypeOf(data).String())
		binary.go#L482: 		return nil, errors.New("binary.Append: some values are not fixed-sized in type " + reflect.TypeOf(data).String())

	encoding/json
		decode.go#L132: 		return "json: cannot unmarshal " + e.Value + " into Go struct field " + e.Struct + "." + e.Field + " of type " + e.Type.String()
		decode.go#L134: 	return "json: cannot unmarshal " + e.Value + " into Go value of type " + e.Type.String()
		decode.go#L148: 	return "json: cannot unmarshal object key " + strconv.Quote(e.Key) + " into unexported field " + e.Field.Name + " of type " + e.Type.String()
		decode.go#L163: 		return "json: Unmarshal(non-pointer " + e.Type.String() + ")"
		decode.go#L165: 	return "json: Unmarshal(nil " + e.Type.String() + ")"
		encode.go#L213: 	return "json: unsupported type: " + e.Type.String()
		encode.go#L255: 		" for type " + e.Type.String() +
		encode.go#L770: 			e.error(fmt.Errorf("json: encoding error for type %q: %q", v.Type().String(), err.Error()))

	fmt
		print.go#L377: 	p.buf.writeString(v.Type().String())
		print.go#L388: 		p.buf.writeString(reflect.TypeOf(p.arg).String())
		print.go#L392: 		p.buf.writeString(p.value.Type().String())
		print.go#L563: 			p.buf.writeString(value.Type().String())
		print.go#L699: 		p.fmt.fmtS(reflect.TypeOf(arg).String())
		print.go#L807: 			p.buf.writeString(f.Type().String())
		print.go#L836: 			p.buf.writeString(f.Type().String())
		print.go#L860: 				p.buf.writeString(f.Type().String())
		print.go#L886: 				p.fmtBytes(bytes, verb, t.String())
		print.go#L891: 			p.buf.writeString(f.Type().String())
		print.go#L1191: 				p.buf.writeString(reflect.TypeOf(arg).String())
		scan.go#L1021: 			s.errorString("type not a pointer: " + val.Type().String())
		scan.go#L1037: 				s.errorString("can't scan type: " + val.Type().String())
		scan.go#L1051: 			s.errorString("can't scan type: " + val.Type().String())

	github.com/google/go-cmp/cmp
		options.go#L254: 			name = fmt.Sprintf("%q.(%v)", pkgPath, t.String()) // e.g., "path/to/package".(struct { a int })

	github.com/google/go-cmp/cmp/internal/value
		name.go#L39: 			b = append(b, t.String()...)
		sort.go#L92: 		if tx.String() != ty.String() {
		sort.go#L93: 			return tx.String() < ty.String()

	internal/fmtsort
		sort.go#L134: 		panic("bad type in compare: " + aType.String())

	net/http
		client.go#L336: 	if reflect.TypeOf(rt).String() == "*http2.Transport" {