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

Hudson commented on THRIFT-3114:
--------------------------------

SUCCESS: Integrated in Thrift #1520 (See 
[https://builds.apache.org/job/Thrift/1520/])
THRIFT-3114 Using local temp variables to not pollute the global table (jensg: 
rev 811d279d581c7daffcee846492f5efca12fda3db)
* compiler/cpp/src/generate/t_lua_generator.cc


> Using local temp variables to not pollute the global table
> ----------------------------------------------------------
>
>                 Key: THRIFT-3114
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3114
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Lua - Compiler
>    Affects Versions: 1.0
>         Environment: Mac OS X 10.9.5, Lua 5.2
>            Reporter: Xin Li
>            Assignee: Jens Geyer
>             Fix For: 0.9.3
>
>
> Should prefix the field deserialization statements with "local" whenever the 
> output is a temporary variable, for example this compiler output:
> _elem46 = iprot:readI32()
> should be changed to:
> local _elem46 = iprot:readI32().



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

Reply via email to