There is a disagreement between the documentation at
http://code.google.com/apis/protocolbuffers/docs/proto.html#enum
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 
program?

Thanks,
  Chris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to