Importing a name scope recursively imports all name scopes nested within it
Source: Airbus Group ( Oliver Kellogg)
The section Imports contains
The effects of an import statement are as follows:
- Importing a name scope recursively imports all name scopes nested within it.
This looks counter intuitive to me.
What happens if another module does "import commontypes"?
If, as the standard says, all name scopes nested within "commontypes" are recursively imported then this would lead to errors:
The enum values RED and GREEN would be directly visible and would be in conflict with each other.
Reported: IDL 4.2 — Mon, 29 Jun 2020 07:47 GMT
Updated: Mon, 13 Jul 2020 14:47 GMT