Summary
BA communication actions and subprogram calls lack complete AS5506/3 Rev. A D.5/D.6 category, direction, signature, and parameter validation. The grammar accepts a generic reference and expression list; port-send translation silently uses only the first expression; the type checker does not validate SubprogramCallAction signatures.
Reproduction
This issue comes from the source audit in ba/doc/conformance.md; no additional runtime reproduction was performed. The incomplete paths are visible in toCommunicationAction, getFormalParameters, and checkBasicAction.
Expected behavior
Validate that communication targets support the selected operation and that subprogram actuals match all required formal features in count, order, direction, and type. Reject extra port-send values instead of discarding them.
Relevant code
Summary
BA communication actions and subprogram calls lack complete AS5506/3 Rev. A D.5/D.6 category, direction, signature, and parameter validation. The grammar accepts a generic reference and expression list; port-send translation silently uses only the first expression; the type checker does not validate
SubprogramCallActionsignatures.Reproduction
This issue comes from the source audit in
ba/doc/conformance.md; no additional runtime reproduction was performed. The incomplete paths are visible intoCommunicationAction,getFormalParameters, andcheckBasicAction.Expected behavior
Validate that communication targets support the selected operation and that subprogram actuals match all required formal features in count, order, direction, and type. Reject extra port-send values instead of discarding them.
Relevant code
ba/org.osate.xtext.aadl2.ba/src/org/osate/xtext/aadl2/ba/BehaviorAnnex.xtext—CommunicationAction.ba/org.osate.xtext.aadl2.ba/src/org/osate/xtext/aadl2/ba/translation/DeclarativeToStrictTranslator.java—toCommunicationActionandgetFormalParameters.ba/org.osate.ba/src/org/osate/ba/analyzers/AadlBaTypeChecker.java—checkBasicAction.