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

cocoa: Duplicate interface definition error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.8
    • Fix Version/s: 0.10.0
    • Component/s: Cocoa - Compiler
    • Labels:
      None
    • Environment:

      with Xcode on Mac OS X.

      Description

      The following IDL file always produces two "ping_args" classes in the generated objective-C source file and causes "Duplicate interface definition for class 'ping_args'" error.

      The class name should be Foo_ping_args and Bar_ping_args.

      --------------------------------
      service Foo {
      void ping(1:string msg)
      }

      service Bar {
      void ping(1:string msg)
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kdubb Kevin Wooten
                Reporter:
                hirano-s@aist.go.jp HIRANO Satoshi
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified