mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2024-12-27 15:26:51 +00:00
6352deccdb
If `DiscardUnknown` was enabled, previously this syntax was rejected with an error "unexpected token: ]": unknown_field: [ {} ] This is because the parser short-circuited after parsing the {}, and didn't handle the closing square brace. Now it no longer short-circuits. Change-Id: I6230b56766632752a5cc8822b17ed8262873d6cc Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/530616 Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Michael Stapelberg <stapelberg@google.com> |
||
---|---|---|
.. | ||
protodelim | ||
protojson | ||
prototext | ||
protowire | ||
bench_test.go |