Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-838

Generated Cocoa classes have useless @dynamic declarations

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.2, 0.3, 0.4
    • Fix Version/s: 0.5
    • Component/s: Cocoa - Compiler
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      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.

        Attachments

        1. cocoa-compiler.patch
          2 kB
          Kevin Ballard

          Activity

            People

            • Assignee:
              kballard Kevin Ballard
              Reporter:
              kballard Kevin Ballard
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: