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

Alexander Potashev commented on THRIFT-2503:
--------------------------------------------

Jens, sorry, I was slightly wrong.

The buggy code didn't go away from trunk yet, but after switching from 0.9.1 to 
trunk the "steps to reproduce" that I wrote in the description for this bug 
report are not valid anymore.

I'll change it to describe the bug that still exists.

> C++: Fix name collision when RPC function argument is called "val"
> ------------------------------------------------------------------
>
>                 Key: THRIFT-2503
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2503
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Compiler
>    Affects Versions: 0.9.1
>            Reporter: Alexander Potashev
>             Fix For: 0.9.2
>
>
> When an RPC service function defined in the .thrift IDL file has an argument 
> "val", the C++ compiler generates the following faulty code in the class that 
> stores function arguments:
>   void __set_val(const int32_t val) {
>     val = val;
>   }



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to