SysML-v2-Pilot-Implementation
SysML-v2-Pilot-Implementation copied to clipboard
ST6RI-585 Message ends are parsed incorrectly
This pull request corrects bugs related to the parsing of message declarations.
- A message declaration is parsed as a FlowConnectionUsage, which, as currently implemented, must have end features that are ItemFlowEnds. However, message ends where previously being parsed as regular Features. This is now corrected so they are parsed as ItemFlowEnds.
- Message ends do not have
itemFeatures
(i.e., target output and source input features). However, the derivation computation forItemFlow::getItemFeature
was throwing an index-out-of-bounds exception for a FlowConnectionUsage with ItemFlowEnds withoutitemFeatures
. This is now corrected.