Skip to content

Conversation

@seidewitz
Copy link
Member

This PR corrects missing implicit specializations of Objects::objects and Objects::Object::subobjects in certain cases for port usages and occurrence usages.

  1. A nested composite port usage (i.e., a subport) explicitly typed by a port definition meets the criteria for checkFeatureSubobjectSpecialization and, therefore, should have an implied subsetting of Objects::Object::subobject. In particular, Ports::Port::subports should have this implied subsetting, so every subport should then satisfy the constraint automatically. (See also SYSML21-483.)

  2. An occurrence usage explicitly typed by a structure type (such as an item definition) meets the criteria for checkFeatureObjectSpecialization (or checkFeatureSubobjectSpecialization, if it is a subobject) and, therefore, should have an implied subsetting of Objects::objects (or Objects::Object::subobjects).

- checkFeatureObjectSpecialization and
checkFeatureSubobjectSpecialization for an OccurrenceUsage with a
Structure type.

- checkFeatureSubobjectSpecialization for a composite PortUsage
explicitly typed by a PortDefinition.
So checkFeatureObjectSpecialization and
checkFeatureSubobjectSpecialization are properly satisfied when they
apply.
@seidewitz seidewitz self-assigned this Dec 21, 2025
@seidewitz seidewitz added the bug Something isn't working label Dec 21, 2025
@seidewitz seidewitz added this to the 2025-12 milestone Dec 21, 2025
@seidewitz seidewitz requested a review from himi December 21, 2025 00:12
@seidewitz seidewitz merged commit 4adf2fa into master Dec 31, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants