Xin Li created THRIFT-3114:
------------------------------

             Summary: 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


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