[jacorb-bugs] [Bug 970] New: CORBA IDL does not allow an argument to have the same name as a type.

bugzilla-daemon at jacorb.org bugzilla-daemon at jacorb.org
Fri Nov 22 14:24:58 CET 2013


http://www.jacorb.org/bugzilla/show_bug.cgi?id=970

            Bug ID: 970
           Summary: CORBA IDL does not allow an argument to have the same
                    name as a type.
           Product: JacORB
           Version: 2.3.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: major
          Priority: P5
         Component: IDL compiler
          Assignee: jacorb-bugs at lists.spline.inf.fu-berlin.de
          Reporter: vasuvadlamudibabu at gmail.com

We upgraded from Corba 2.2.4 to 2.3.0.
In 2.2.4 it was working fine, we are facing below issue after upgrading:

Basically it is not allowing argument name as same as type(we give argument
name as small letters where as type contains capital and small letters).

Ex:Below method is throwing error:
Short createErrorInfo(in  ErrorMsg_IF error, out ErrorInfo errorinfo );

Error msg:

Error: In operation com.manh.wmos.services.corba.ErrorInfoIF.createErrorInfo
argument errorInfo clashes with type
com.manh.wmos.services.corba.ErrorInfoIFPackage.ErrorInfo

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spline.inf.fu-berlin.de/pipermail/jacorb-bugs/attachments/20131122/ec5fe8d8/attachment.html>


More information about the jacorb-bugs mailing list