Damien Neil 1605775be0 internal/impl: handle some dynamic legacy messages
When creating a MessageDescriptor for a legacy message with a
Descriptor method, we call that method on the type's zero value to
get the message's DescriptorProto. Some existing dynamic message
types have a Descriptor method which panics in this case.

Catch the panic and continue as if the Descriptor method wasn't present.

Change-Id: I98d4625d6917cc1ec25737e5670a443f5d02a404
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/206637
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2019-11-12 17:55:36 +00:00
..
2019-07-09 19:32:32 +00:00
2019-09-23 16:43:47 +00:00
2019-09-23 16:43:47 +00:00
2019-09-23 16:14:39 +00:00
2019-09-23 16:14:39 +00:00
2019-08-06 21:16:48 +00:00
2019-07-15 19:32:30 +00:00