[ 
https://issues.apache.org/jira/browse/THRIFT-2882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14245535#comment-14245535
 ] 

Hudson commented on THRIFT-2882:
--------------------------------

FAILURE: Integrated in Thrift #1399 (See 
[https://builds.apache.org/job/Thrift/1399/])
THRIFT-2882 Lua Generator: using string.len funtion to get struct(map,list,set) 
size (roger: rev de76a3772b5642d093765e2cf1de5b9e0201067c)
* lib/lua/Thrift.lua
* compiler/cpp/src/generate/t_lua_generator.cc


> Lua Generator: using string.len funtion to get struct(map,list,set) size
> ------------------------------------------------------------------------
>
>                 Key: THRIFT-2882
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2882
>             Project: Thrift
>          Issue Type: Bug
>          Components: Lua - Compiler
>            Reporter: winsweet
>            Assignee: Roger Meier
>
> #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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to