-
Key: OCL21-241
-
Legacy Issue Number: 7530
-
Status: closed
-
Source: OpenModeling ( Jos Warmer)
-
Summary:
22. – [1] The operation allPredecessors returns the collection of all snapshots
– before a snapshot, allSuccessors returns the collection of all snapshots after
– a snapshot.
context LocalSnapshot
def: allPredecessors() : Sequence(LocalSnapshot) =
if pred->notEmpty then
pred->union(pred.allPredecessors())
else
Sequence {}
endif
def: allSuccessors() : Sequence(LocalSnapshot) =
if succ->notEmpty then
succ->union(succ.allSuccessors())
else
Sequence {}
endif
==> ’notEmpty’ should be ’notEmpty()’ (twice) -
Reported: OCL 2.0b2 — Thu, 10 Jun 2004 04:00 GMT
-
Disposition: Resolved — OCL 2.1
-
Disposition Summary:
yes
-
Updated: Fri, 6 Mar 2015 20:58 GMT