CORBA 2.4 NO IDEA Avatar
  1. OMG Issue

CORBA24 — IDL scoping rules

  • Key: CORBA24-59
  • Legacy Issue Number: 3173
  • Status: closed  
  • Source: Triodia Technologies Pty Ltd ( Michi Henning)
  • Summary:

    on page 3-48, we have:

    On the other hand, if module Inner2 were:

    module Inner2

    { typedef Inner1::S1 S2; // Inner1 introduced typedef string inner1; // Error typedef string S1; // OK }

    ;

    The definition of inner1 is now an error because the identifier
    Inner1 referring to the module Inner1 has been introduced in the
    scope of module Inner2 in the first line of the module declaration.
    Also, the declaration of S1 in the last line is OK since the
    identifier S1 was not introduced into the scope by the use of
    Inner1::S1 in the first line.

    This is fine, but it doesn't make it clear that, if the name is qualified,
    it is not introduced into the scope.

  • Reported: CORBA 2.3.1 — Sun, 2 Jan 2000 05:00 GMT
  • Disposition: Resolved — CORBA 2.4
  • Disposition Summary:

    Additional clarifying words are needed as shown below.

  • Updated: Fri, 6 Mar 2015 20:58 GMT