-
Key: CORBA26-78
-
Legacy Issue Number: 4578
-
Status: closed
-
Source: Humboldt-Universitaet ( Martin von Loewis)
-
Summary:
In ccm/01-08-03, a sentence says "IDL module definitions may re-open
modules defined in imported name scopes."Now, consider the following "well-defined set of IDL definitions":
module Y{};
module A{
module Y{};
};
module B{
module Y{};
};and the import statements
import A;
import B;Clearly, A::Y and B::Y are "modules defined in imported name
scopes". Does that mean that specifyingmodule Y{
interface another_interface{};
};is now valid? If so, which namespace is extended?
It may be that this is meant to be an error (if so, where does it say
that?). In that case, consider the case that there was only a single
import:import A;
Then, if this means that A::Y is extended, how could I specify a
re-opening of ::Y?Alternatively, it may be that the authors thought of re-opening Y in
the form ofmodule A::Y{
interface another_interface{};
};That, of course, is illegal syntax. Yet another interpretation is that
the draft intended to allowmodule A{
module Y{
interface another_interface{};
};
};However, this appears to be possible even without any import
statement. -
Reported: CORBA 2.5 — Mon, 17 Sep 2001 04:00 GMT
-
Disposition: Resolved — CORBA 2.6.1
-
Disposition Summary:
See issue 4577.
-
Updated: Fri, 6 Mar 2015 20:58 GMT