aboutsummaryrefslogtreecommitdiffhomepage
path: root/objectivec/Tests/unittest_runtime_proto3.proto
diff options
context:
space:
mode:
Diffstat (limited to 'objectivec/Tests/unittest_runtime_proto3.proto')
-rw-r--r--objectivec/Tests/unittest_runtime_proto3.proto5
1 files changed, 4 insertions, 1 deletions
diff --git a/objectivec/Tests/unittest_runtime_proto3.proto b/objectivec/Tests/unittest_runtime_proto3.proto
index feb7029d..a081fa7e 100644
--- a/objectivec/Tests/unittest_runtime_proto3.proto
+++ b/objectivec/Tests/unittest_runtime_proto3.proto
@@ -75,7 +75,10 @@ message Message3 {
repeated bytes repeated_bytes = 45;
// No 'group' in proto3.
repeated Message3 repeated_message = 48;
- repeated Enum repeated_enum = 49;
+ // TODO(teboring): In proto3, repeated primitive field is packed by default.
+ // testProto2UnknownEnumToUnknownField needs repeated_enum to be unpacked.
+ // Remove this option when testProto2UnknownEnumToUnknownField.
+ repeated Enum repeated_enum = 49 [packed=false];
repeated Enum repeated_packed_enum = 50 [packed=true];
oneof o {