mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-29 09:32:38 +00:00
f102ec6532
There are several minor fixes: * fix the unmarshaler for the field options (it used the wrong field numbers). * fix the unmarshaler to always initialize the file options with the appropriate defaults. * fix the coder selection to work properly for fields with implicit presence tracking (they used the coders for explicit tracking). * fix the dynamic message created from a descriptor for an editions using proto to use HasPresence instead of a syntax check for proto3 Change-Id: Ic13bc22a71aa9f93b476e5edd650d4d2ab5dcb98 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/564455 Auto-Submit: Michael Stapelberg <stapelberg@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Stapelberg <stapelberg@google.com>