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 all: rename IsInitialized as CheckInitialized 2020-02-20 20:45:40 +00:00
proto_test.go
proto.go reflect/protoreflect: mention bidirectional conversion of protodesc 2020-04-21 00:35:05 +00:00
source.go reflect/protoreflect: update documentation 2020-02-15 00:23:47 +00:00
type.go reflect/protoreflect: fix typo in FieldDescriptor.HasOptionalKeyword 2020-05-04 18:59:39 +00:00
value_pure.go all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
value_test.go all: rename Vector as List 2018-11-14 23:03:53 +00:00
value_union.go reflect/protoreflect: adjust ValueOf panic message 2020-05-26 22:22:26 +00:00
value_unsafe.go all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
value.go reflect/protoreflect: cleanup wording on Message.NewField 2020-04-21 00:34:41 +00:00