-
Notifications
You must be signed in to change notification settings - Fork 71
Description
When importing the following textual model:
package Test {
item def MyItemDef {
item myFeature: A;
}
item def A {
attribute name: ScalarValues::String;
}
}
Then the validation raises the following Warning:
If a Feature is owned via a FeatureMembership, then it must have a featuringType for which the operation isFeaturingType returns true. (checkFeatureFeatureMembershipTypeFeaturing constraint on Feature is not respected for Test::MyItemDef::myFeature)
Arthur noted:
If I understand correctly at some point
myFeatureshould be typed with A but also implicitly own aTypeFeaturingthat targets "MyItemDef". The current implementation of SysON does not implicitly add thisTypeFeaturingelement causing this validation error.
Reactions are currently unavailable