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
Seems to fail with a nil reference to fields_by_name
if message_descriptor.fields_by_name[field_name] == nil then
error('Protocol message has no "' .. field_name .. '" field.')
end
It looks like the member fields_by_name is never set anywhere, further in the ClearField method there also looks like another potential nil reference as field isn't set either.
The text was updated successfully, but these errors were encountered:
Is this usage correct?
pb_instance.ClearField("field_name")
Seems to fail with a
nil
reference tofields_by_name
It looks like the member
fields_by_name
is never set anywhere, further in theClearField
method there also looks like another potentialnil
reference asfield
isn't set either.The text was updated successfully, but these errors were encountered: