Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reflect/protodesc: fix packed field conditional
Before this change, calling dynamicpb.NewMessage() on a protoreflect.MessageDescriptor that uses Editions would fail with: message field "[…].relatedqueries" is not packable (While Go Protobuf does not yet support Editions, C++ programs can save descriptors to a file that is later loaded by a Go program.) This was an oversight in commit e8baad6. Change-Id: I45d2b07a85ee40cb7c028098b81c4e76bf2ff555 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/554896 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Cassondra Foesch <[email protected]> Reviewed-by: Christian Höppner <[email protected]> Auto-Submit: Michael Stapelberg <[email protected]>
- Loading branch information