Community
Participate
Working Groups
select() should preserve the type of the collection it is executed on. For instance OrderedSet{1,2,3}.select(x|true) should return OrderedSet{1,2,3} but at the moment returns Sequence{1,2,3}
According to the OCL spec, if the source collection is ordered (i.e. Sequence or OrderedSet) select should return a Sequence, otherwise a Bag. Fixed in the SVN.
Fixed in 0.9.0.