You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "HIRANO Satoshi (JIRA)" <ji...@apache.org> on 2012/12/14 06:44:12 UTC

[jira] [Created] (THRIFT-1790) cocoa: Duplicate interface definition error

HIRANO Satoshi created THRIFT-1790:
--------------------------------------

             Summary: cocoa: Duplicate interface definition error
                 Key: THRIFT-1790
                 URL: https://issues.apache.org/jira/browse/THRIFT-1790
             Project: Thrift
          Issue Type: Bug
          Components: Cocoa - Compiler
    Affects Versions: 0.8
         Environment: with Xcode on Mac OS X.
            Reporter: HIRANO Satoshi


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)
}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira