You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Aleksandr Skobelev (JIRA)" <ji...@apache.org> on 2017/03/13 09:13:04 UTC

[jira] [Comment Edited] (THRIFT-4116) Thrift de-capitalizes the name of IsSet property in Cocoa

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

Aleksandr Skobelev edited comment on THRIFT-4116 at 3/13/17 9:12 AM:
---------------------------------------------------------------------

Patch that removes call to decapitalize() when generating IsSet property: [^thrift-0.10.0.patch].


was (Author: ilowry):
Patch that removes call to decapitalize() when generating IsSet property.

> Thrift de-capitalizes the name of IsSet property in Cocoa
> ---------------------------------------------------------
>
>                 Key: THRIFT-4116
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4116
>             Project: Thrift
>          Issue Type: Bug
>          Components: Cocoa - Compiler
>    Affects Versions: 0.10.0
>            Reporter: Aleksandr Skobelev
>            Priority: Critical
>         Attachments: thrift-0.10.0.patch
>
>
> If a struct contains fields with capitalized names, Thrift compiler for Cocoa wrongly generates IsSet Objective-C property started with lowercase character. In the same time it keeps the uppercase latter in the name of the corresponding  instance variable. This breaks the compilation of the generated code. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)