-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
Summary
There is a case where renaming a subcomponent does not rename a reference to this subcomponent in a property association.
Expected and Current Behavior
The model below has two references to bus subcomponent theBus. When renaming theBus to, for example, theBus1, it is renamed in the properties section but not in the property association at connection conni. Both should be renamed.
Note that highlighting references works.
Steps to Reproduce
- Load the following mode
- Use rename refactoring on
theBusintop.i
package Issue2259
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;
theBus: bus MyBus;
connections
conn1: port sub1.out1 -> sub2.in1 {
Actual_Connection_Binding => (reference (theBus));
};
properties
-- Bind the connections
Actual_Connection_Binding => (reference (theBus)) applies to conn1;
end top.i;
end Issue2259;
Environment
- OSATE Version: 2.7.0
- Operating System: all
Reactions are currently unavailable