Implement helper function FieldDescriptor::legacy_enum_field_treated_as_closed...
Implement helper function FieldDescriptor::legacy_enum_field_treated_as_closed to support legacy enum field behavior. Proto2 fields with types corresponding to proto3 enums are treated as closed today, despite the EnumDescriptor reporting that they're open. This will allow syntax users to depend on this non-conformant behavior which will be getting it's own feature in Edition zero. PiperOrigin-RevId: 512218773
Loading
Please sign in to comment