Closed
Description
Summary
Data types on ports are not validated if the ports are connected with a feature connection.
Expected and Current Behavior
Feature connections should be validated like port connections.
Steps to Reproduce
- Paste the model below in the AADL text editor.
- Notice that there are no errors
- Change the feature connection in line 12 to a port connection
- The connection is now marked with an error
package P1
public
system S
end S;
system implementation S.i
subcomponents
a1: abstract A;
b: abstract B;
connections
c1: feature a1.aout -> b.bin;
end S.i;
abstract A
features
aout: out data port D1;
end A;
abstract B
features
bin: in data port D2;
end B;
data D1
end D1;
data D2
end D2;
end P1;
Environment
- OSATE Version: 2.7.1
- Operating System: all