You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After fixing the exception from #2259 the instantiation appends local and local contained property associations.
Expected and Current Behavior
The local property association should be overridden by the local contained one.
Steps to Reproduce
Instantiate top.i
In the instance model the connection binding is (theBus1, theBus2) instead of (thebus2)
package Issue2265
public
bus MyBus
end MyBus;
system S1
features
out1: out data port;
end S1;
system S2
features
in1: in data port;
end S2;
-- assembled system
system top
end top;
system implementation top.i
subcomponents
sub1: system s1;
sub2: system s2;
theBus1: bus MyBus;
theBus2: bus MyBus;
a: abstract {
Source_Language => (C);
};
connections
conn1: port sub1.out1 -> sub2.in1 {
Actual_Connection_Binding => (reference (theBus1));
};
properties
Actual_Connection_Binding => (reference (theBus2)) applies to conn1;
Source_Language => (Ada95) applies to a;
end top.i;
end Issue2265;
Environment
OSATE Version: 2.7.0
Operating System:
The text was updated successfully, but these errors were encountered:
lwrage
changed the title
Actual_Connection_Binding is not overridden be contained property association
Actual_Connection_Binding is not overridden by contained property association
Mar 31, 2020
Summary
After fixing the exception from #2259 the instantiation appends local and local contained property associations.
Expected and Current Behavior
The local property association should be overridden by the local contained one.
Steps to Reproduce
top.i
(theBus1, theBus2)
instead of(thebus2)
Environment
The text was updated successfully, but these errors were encountered: