[
https://issues.apache.org/jira/browse/THRIFT-3395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14973298#comment-14973298
]
Hudson commented on THRIFT-3395:
--------------------------------
SUCCESS: Integrated in Thrift #1699 (See
[https://builds.apache.org/job/Thrift/1699/])
Cocoa compiler: fixed incorrect boxing of enums inside map. #THRIFT-3395
(jensg: rev bc464c4ce8c1048eed3b862cb885bb25386fdc28)
* compiler/cpp/src/generate/t_cocoa_generator.cc
> Cocoa compiler produces corrupt code when boxing enums inside map.
> ------------------------------------------------------------------
>
> Key: THRIFT-3395
> URL: https://issues.apache.org/jira/browse/THRIFT-3395
> Project: Thrift
> Issue Type: Bug
> Components: Cocoa - Compiler
> Reporter: Aleksei Shevchenko
> Assignee: Aleksei Shevchenko
> Fix For: 1.0
>
>
> Essentially fix for https://issues.apache.org/jira/browse/THRIFT-2905 and PR
> #652.
> Given something like this:
> {code}
> void someRpcCall(1:map<SomeEnum, AnotherEnum> param);
> {code}
> Cocoa compiler produces corrupt implementation.
> {code}
> - (BOOL) someRpcCall:(NSDictionary< , > *) param error: (NSError
> *__autoreleasing *)__thriftError;
> {code}
> This fixes it so code rendered properly, boxing enums into NSNumber*.
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)