Example at the end of proto2 language spec is incorrect:

message foo {
  optional group GroupMessage {
    optional a = 1;
  }
}


Should read:

message foo {
  optional group GroupMessage = 1 {
    optional int32 a = 2;
  }
}

 

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to