Specifying a default value larger than 2147483647 (INT_MAX) results in the
value being flagged as an error, even if it is valid for the type. For example,
each of these is flagged as an error despite being valid:
message Test {
optional int64 a = 1 [default = 2147483648];
optional uint32 b = 2 [default = 2147483648];
optional uint64 c = 3 [default = 2147483648];
optional sint64 d = 4 [default = 2147483648];
optional fixed32 e = 5 [default = 2147483648];
optional fixed64 f = 6 [default = 2147483648];
}
I'm using version 34dac6f2288c5b7b28c2461d4a6d8ae098ab974c
Original issue reported on code.google.com by b...@eater.net on 4 Sep 2011 at 4:12
Original issue reported on code.google.com by
b...@eater.net
on 4 Sep 2011 at 4:12