You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/01/14 15:04:04 UTC
[jira] [Resolved] (THRIFT-1506) Cocoa Generator shouldn't declare
getter/setter methods when previously declared by @property
[ https://issues.apache.org/jira/browse/THRIFT-1506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James E. King III resolved THRIFT-1506.
---------------------------------------
Resolution: Won't Do
Assignee: James E. King III
Fix Version/s: 1.0
As support for the older cocoa compiler and library have been removed (see THRIFT-4719), all of the issues in Jira related to that code have also been removed. For legacy cocoa support you can use version 0.12.0 - everyone is expected to move to swift if they want to use the next release of Thrift.
> Cocoa Generator shouldn't declare getter/setter methods when previously declared by @property
> ----------------------------------------------------------------------------------------------
>
> Key: THRIFT-1506
> URL: https://issues.apache.org/jira/browse/THRIFT-1506
> Project: Thrift
> Issue Type: Bug
> Components: Cocoa - Compiler
> Affects Versions: 0.8
> Reporter: Steve White
> Assignee: James E. King III
> Priority: Minor
> Fix For: 1.0
>
> Attachments: THRIFT-1506.patch
>
>
> The use of @property and then declaring the getter/setter methods can confuse the compiler, leading to compiler errors such as:
> error: type of property 'someProperty' does not match type of accessor 'setSomeProperty:'
> I would propose that based on the existing #if TARGET_OS_IPHONE || (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5) that the getter/setter methods are not declared.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)