assert-constraint-usage-reference
Available in: SysML
This checks that assert constraints reference other constraints only.
Specification
If an
AssertConstraintUsagehas anowned_reference_subsetting, then thefeature_targetof thereferenced_featuremust be aConstraintUsage.
Example
attribute a;
assert a; // error
Instead, reference a constraint:
constraint a;
assert a; // ok