| Summary: | Syntax of iterate operation (EOL) | ||
|---|---|---|---|
| Product: | [Modeling] Epsilon | Reporter: | Chris Holmes <holmeschrisk> |
| Component: | Core | Assignee: | Dimitris Kolovos <dkolovos> |
| Status: | CLOSED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ralphgerbig |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Chris Holmes
(In reply to comment #0) > The syntax of the iterate operation as described in the Epsilon Book, e.g. > var msbs : OrderedSet(Integer) := self.getFields().collect(field | > field.msb).asOrderedSet(); > var maxMsb : Integer := 0; > msb := msbs.iterate(msb : Integer; x : Integer = 0 | msb.max(x)); > > The iterate operation fails to parse, although I think this conforms to the > format identified in the Epsilon book. This form also fails to parse: > msb := msbs.iterate(msb; x=0 | msb.max(x)); > > Discussed with Dimitris 20-May-2010 Is there anything new on this Bug? iterate() is no longer supported in EOL so I suspect it makes sense to close this bug as invalid |