After the latest release (2.6.0) all my protos wouldn't compile.
Protoc gives me the following error: "Message extensions cannot have 
required fields."

Can anyone explain me why can't I use the required field in extention in 
the code below?

message MyMsgA { 
    extensions 100 to max; 
    required int32 i = 1; 
} 
 
message MyMsgB { 
    extend MyMsgA { 
        required MyMsgB b_data = 100; 
    } 
    required string s = 1; 
}


Thanks in advance.

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to