There is a disagreement between the documentation at
and the behavior of proto.

The documentation states that
"Enumerator constants must be in the range [0, 2147483647]."

But the protoc program allows negative values.

I happened to write my Haskell version according the documentation, and 
noticed this when the unittest.proto defined SPARSE constants there were 
negative.  My code rejected this as invalid.

Should the documentation be changed (and my Haskell code) or the protoc 


You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to