protobuf-go/encoding/prototext
Joe Tsai c30776bb3b encoding/prototext: fix skipping of unknown fields
Inside decoder.skipValue we should not be calling skipValue again
since we had already read the value earlier. The only possible
composite type in the context of a list is another message,
which is already handled in the case above.

Change-Id: If40da2d369e0a64a64ba9b961377331231158fe2
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/317430
Trust: Joe Tsai <joetsai@digital-static.net>
Trust: Herbie Ong <herbie@google.com>
Reviewed-by: Herbie Ong <herbie@google.com>
2021-05-06 20:07:56 +00:00
..
decode_test.go encoding/prototext: fix skipping of unknown fields 2021-05-06 20:07:56 +00:00
decode.go encoding/prototext: fix skipping of unknown fields 2021-05-06 20:07:56 +00:00
doc.go
encode_test.go internal/order: add a package for ordered iteration over messages and maps 2020-07-01 18:57:38 +00:00
encode.go reflect/protoreflect: add FieldDescriptor.TextName 2020-07-08 23:23:57 +00:00
other_test.go internal/testprotos: hide all public testprotos 2020-01-12 08:32:55 +00:00