This page identifies a possible issue, inconsistency, concern, error, or bug!
One of the ways Webel IT Australia helps promote tools, technologies, and languages is by donating a lot of time identifying, tracking, and reporting potential issues, in order to help vendors and developers improve the tools and technologies. In some cases, we also offer workarounds and advice for users. All issues tracked on our public site are offered most constructively and with sincerest gratitude to the tool vendors and technology developers.
DISCLAIMER: Vendors do not officially endorse issue analysis by Webel IT Australia.
The following is based on SysML2.0 spec p.27 and p.28. Given:
package P1 {
item A;
item B;
alias <C> CCC for B {
doc /* Documentation of the alias. */
}
private alias D for B;
}
The import C below fails:
package P2 {
private import P1::A;
private import P1::C; // Imported with name "C".
package Q {
import C; // "C" is re-imported from P2 into Q.
}
}
The above works though in Cameo if you use private import C;.
According to the spec private 'is the default in the abstract syntax' and examples suggest that using a visibility declaration should be optional.
