Short Names

Hello,

I used short names for referencing to sysml python objects. When the attributes have the same name, but not the same namespace the connection to the right element gets lost by using short names. I think it would be helpful to have a warning or include the namespace (not the qualified name) when using short names in this case. As an example, I have referenced attribute2 to part1::attribute1. In the text file attribute2 references then to subpart1::attribute1. Somthing like the reference of attribute3 including the namespace would solve the problem.

package package1 {

    part part1 {

        attribute attribute1 = 10;

        part subpart1 {

            attribute attribute1;

            attribute attribute2 = attribute1;

            attribute attribute3 = part1::attribute1;

        }

    }

}

Thanks for the bug report. I will have a look.

1 Like

Fixed for the next release.