You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2015/04/26 17:49:39 UTC

[jira] [Resolved] (THRIFT-3114) Using local temp variables to not pollute the global table

     [ https://issues.apache.org/jira/browse/THRIFT-3114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer resolved THRIFT-3114.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 0.9.3
         Assignee: Jens Geyer

Committed, thanks!

> 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)