Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
#t_lua_generator::generate_serialize_container
string.len can't get struct's size.
Tables are the only "container" type in Lua.
We can get the "length" of an array using the # operator.
But the # operator doesn't count all the items in the table.
So when ttype equals to list, # should be OK.
Attachments
Issue Links
- links to