Systems-Modeling / SysML-v2-Pilot-Implementation

Proof-of-concept pilot implementation of the SysML v2 textual notation and visualization
GNU Lesser General Public License v3.0
114 stars 23 forks source link

ST6RI-712 Implicit specialization of non-framed concern usages is wrong #514

Closed seidewitz closed 7 months ago

seidewitz commented 7 months ago
  1. The semantic constraint checkConcernUsageFramedConcernSpecialization in the SysML v2 Specification only requires that framed concerns (i.e., concern usages owned by a requirement definition or usage via a framed concern membership) specialize Requirements::RequirementsCheck::concerns. This PR corrects a bug that previously resulted in all concern usages nested in requirement definitions or usages, not just framed concerns, implicitly specializing Requirements::RequirementsCheck::concerns.
  2. The PR also corrects a bug in TypeAdapter::removeUnnecessaryImplicitGeneralTypes that prevented the removal of some unnecessary implicit specializations.