protobuf-go/reflect/protoreflect
Joe Tsai 27ea64ff2c reflect/protoreflect: adjust ValueOf panic message
A common mistake is to pass proto.Message to protoreflect.ValueOf
instead of a protoreflect.Message. Specialize for this case
and provide a panic message that is more helpful.

Change-Id: I5def43341aa9607182edde309dea2823e61c1fdb
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/234117
Reviewed-by: Damien Neil <dneil@google.com>
2020-05-26 22:22:26 +00:00
..
methods.go
proto_test.go
proto.go reflect/protoreflect: mention bidirectional conversion of protodesc 2020-04-21 00:35:05 +00:00
source.go
type.go reflect/protoreflect: fix typo in FieldDescriptor.HasOptionalKeyword 2020-05-04 18:59:39 +00:00
value_pure.go
value_test.go
value_union.go reflect/protoreflect: adjust ValueOf panic message 2020-05-26 22:22:26 +00:00
value_unsafe.go
value.go reflect/protoreflect: cleanup wording on Message.NewField 2020-04-21 00:34:41 +00:00