You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Kevin Ballard (JIRA)" <ji...@apache.org> on 2010/08/04 01:50:20 UTC

[jira] Created: (THRIFT-838) Generated Cocoa classes have useless @dynamic declarations

Generated Cocoa classes have useless @dynamic declarations
----------------------------------------------------------

                 Key: THRIFT-838
                 URL: https://issues.apache.org/jira/browse/THRIFT-838
             Project: Thrift
          Issue Type: Bug
          Components: Compiler (Cocoa)
    Affects Versions: 0.2, 0.3, 0.4
            Reporter: Kevin Ballard
            Priority: Minor


Generated Cocoa classes declare all their properties as @dynamic inside the class implementation. This is completely useless as the getters/setters are defined in the same file. @dynamic is only meant to tell the compiler that the getters/setters will exist at runtime and does nothing if they're provided at compile-time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-838) Generated Cocoa classes have useless @dynamic declarations

Posted by "Kevin Ballard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Ballard updated THRIFT-838:
---------------------------------

    Patch Info: [Patch Available]

> Generated Cocoa classes have useless @dynamic declarations
> ----------------------------------------------------------
>
>                 Key: THRIFT-838
>                 URL: https://issues.apache.org/jira/browse/THRIFT-838
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (Cocoa)
>    Affects Versions: 0.2, 0.3, 0.4
>            Reporter: Kevin Ballard
>            Priority: Minor
>         Attachments: cocoa-compiler.patch
>
>
> Generated Cocoa classes declare all their properties as @dynamic inside the class implementation. This is completely useless as the getters/setters are defined in the same file. @dynamic is only meant to tell the compiler that the getters/setters will exist at runtime and does nothing if they're provided at compile-time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (THRIFT-838) Generated Cocoa classes have useless @dynamic declarations

Posted by "Bryan Duxbury (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bryan Duxbury closed THRIFT-838.
--------------------------------

         Assignee: Kevin Ballard
    Fix Version/s: 0.5
       Resolution: Fixed

I just committed this. Thanks for the patch!

> Generated Cocoa classes have useless @dynamic declarations
> ----------------------------------------------------------
>
>                 Key: THRIFT-838
>                 URL: https://issues.apache.org/jira/browse/THRIFT-838
>             Project: Thrift
>          Issue Type: Bug
>          Components: Cocoa - Compiler
>    Affects Versions: 0.2, 0.3, 0.4
>            Reporter: Kevin Ballard
>            Assignee: Kevin Ballard
>            Priority: Minor
>             Fix For: 0.5
>
>         Attachments: cocoa-compiler.patch
>
>
> Generated Cocoa classes declare all their properties as @dynamic inside the class implementation. This is completely useless as the getters/setters are defined in the same file. @dynamic is only meant to tell the compiler that the getters/setters will exist at runtime and does nothing if they're provided at compile-time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (THRIFT-838) Generated Cocoa classes have useless @dynamic declarations

Posted by "Kevin Ballard (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-838?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kevin Ballard updated THRIFT-838:
---------------------------------

    Attachment: cocoa-compiler.patch

> Generated Cocoa classes have useless @dynamic declarations
> ----------------------------------------------------------
>
>                 Key: THRIFT-838
>                 URL: https://issues.apache.org/jira/browse/THRIFT-838
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (Cocoa)
>    Affects Versions: 0.2, 0.3, 0.4
>            Reporter: Kevin Ballard
>            Priority: Minor
>         Attachments: cocoa-compiler.patch
>
>
> Generated Cocoa classes declare all their properties as @dynamic inside the class implementation. This is completely useless as the getters/setters are defined in the same file. @dynamic is only meant to tell the compiler that the getters/setters will exist at runtime and does nothing if they're provided at compile-time.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.