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
proto2 syntax allows the first enum to have a non zero value. This means any
field using that default has a non zero default without having an explicit
default being set. So when deciding what runtime info is needed, don't rely
on an explicit default, always check that the values aren't zero.
Fixesprotocolbuffers#1453
Objective C generated code can return 0 instead of a valid enum value for unset fields. This appears to happen only when no fields specify a default.
test case: 52219f8
The text was updated successfully, but these errors were encountered: