thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksandr Skobelev (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-4116) Thrift de-capitalizes the name of IsSet property in Cocoa
Date Mon, 13 Mar 2017 09:01:04 GMT

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

Aleksandr Skobelev updated THRIFT-4116:
---------------------------------------
    Attachment: thrift-0.10.0.patch

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)

Mime
View raw message