[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sc-devel] ArrayCollection:addAll



Hi,

  In ArrayedCollection, the method definition of addAll uses a primitive and then does it itself,
just to make sure.  

  Commenting out the redundancy works fine.  If no objections, I will commit tonight.

   addAll { arg aCollection; 
var array;
_ArrayAddAll
array = this;
aCollection.asCollection.do({ arg item; array = array.add(item) }) ;
^array
}


RJK