You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[peter@nefilim ~]$ cat test.proto
message A {
optional uint32 a = 1;
optional uint32 b = 1;
}
[peter@nefilim ~]$ protoc --java_out=. test.proto
test.proto:3:21: Field number 1 has already been used in "A" by field "a".
for instance
messages A {
optional a = 1;
optional b = 1;
}
code gets happily generated, i'm guessing this will have runtime problems. a warning or better yet, an error would be good?
The text was updated successfully, but these errors were encountered: