-
Key: OCL21-296
-
Legacy Issue Number: 12438
-
Status: closed
-
Source: Net.Orange (i.e. Net Dot Orange) ( Garr Lystad)
-
Summary:
The last line on page 28 is an example in Java-like code that is supposed to show the accumulation of values into a Bag. The line currently is acc = <expression-with-elem-and-acc> Since such an assignment would not add to the Bag, but more likely produce a compile error in Java, I would think use of the common method name "add" would be more appropriate: acc.add(<expression-with-elem-and-acc>);
-
Reported: OCL 2.0 — Tue, 13 May 2008 04:00 GMT
-
Disposition: Resolved — OCL 2.1
-
Disposition Summary:
No Data Available
-
Updated: Fri, 6 Mar 2015 20:58 GMT