-
Key: OCL2_-43
-
Legacy Issue Number: 7472
-
Status: closed
-
Source: OpenModeling ( Jos Warmer)
-
Summary:
context Operation
{1..paramTypes->size()}
def: hasMatchingSignature(paramTypes: Sequence(Classifier)) : Boolean =
– check that operation op has a signature that matches the given
parameter lists
= let sigParamTypes: Sequence(Classifier) = self.allAttributes.type in
(
( sigParamTypes->size() = paramTypes->size() ) and
( Set->forAll ( i |
paramTypes->at .conformsTo (sigParamTypes->at )
)
)
)
==> remove the ’=’ after Boolean
==> same error occurs in "context Signal def: hasMatchingSignature...." -
Reported: OCL 2.0b2 — Thu, 10 Jun 2004 04:00 GMT
-
Disposition: Resolved — OCL 2.0
-
Disposition Summary:
No Data Available
-
Updated: Sun, 8 Mar 2015 13:35 GMT