Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reflect/protodesc: don't generate invalid syntax values
Fixes golang/protobuf#1575 When converting a protoreflect.FileDescriptor to a FileDescriptorProto, don't emit an invalid syntax. This can happen for placeholder files, which represent missing dependencies of a file. Change-Id: I1d2ae1bd9f89c8a92e751871ce5c02727505b5e2 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/540455 Reviewed-by: Lasse Folger <[email protected]> Reviewed-by: Michael Stapelberg <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Damien Neil <[email protected]>
- Loading branch information