aboutsummaryrefslogtreecommitdiff
path: root/objectivec/Tests/unittest_runtime_proto3.proto
diff options
context:
space:
mode:
authorBo Yang <teboring@teboring-macpro.roam.corp.google.com>2015-05-25 12:48:03 -0700
committerBo Yang <teboring@teboring-macpro.roam.corp.google.com>2015-05-25 12:48:03 -0700
commit50a765ba03ddf311a4facc78104903e3ba5b3e8b (patch)
tree01b36604d8f6a9579fa160e43477f381f22524d7 /objectivec/Tests/unittest_runtime_proto3.proto
parentad0a5cab521d86fcadb8991427395e77daca71a6 (diff)
downloadprotobuf-50a765ba03ddf311a4facc78104903e3ba5b3e8b.tar.gz
protobuf-50a765ba03ddf311a4facc78104903e3ba5b3e8b.tar.bz2
protobuf-50a765ba03ddf311a4facc78104903e3ba5b3e8b.zip
Fix bugs in objective-c.
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 {