protobuf-go/internal
Damien Neil 5b6d0471e5 internal/impl: handle irregular messages implementing proto.Message
When encountering a type that does not have a MessageInfo, don't assume
that it's a legacy message that doesn't implement proto.Message. Add a
set of test messages exercising this case (panics prior to the
internal/impl change).

Change-Id: Ic1ec5ecfbe92278fbef44284ff52a0e0622a158c
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/182477
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
2019-06-14 22:25:26 +00:00
..
cmd internal/impl: handle irregular messages implementing proto.Message 2019-06-14 22:25:26 +00:00
descfmt internal/descfmt: rename from typefmt 2019-05-22 14:46:27 +00:00
descopts all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
detrand
encoding all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
errors internal/errors: fix New in eliding prefix 2019-02-27 22:36:14 +00:00
fieldnum internal/fieldnum: generate field numbers for the google.protobuf package 2019-03-21 00:57:40 +00:00
fileinit reflect/prototype: initial commit 2019-05-22 18:28:03 +00:00
flags
impl internal/impl: handle irregular messages implementing proto.Message 2019-06-14 22:25:26 +00:00
mapsort all: change module to google.golang.org/protobuf 2019-05-14 17:28:29 +00:00
pragma
prototype reflect/prototype: initial commit 2019-05-22 18:28:03 +00:00
scalar
set internal/set: remove Int32s, Int64s, and Strings 2019-04-03 22:53:35 +00:00
testprotos internal/impl: handle irregular messages implementing proto.Message 2019-06-14 22:25:26 +00:00
value reflect/prototype: initial commit 2019-05-22 18:28:03 +00:00