Turned into http://code.google.com/p/pharo/issues/detail?id=2984
On 06 Sep 2010, at 12:07, Sven Van Caekenberghe wrote: > Hello, > > Is this a bug or am I looking at this the wrong way ? > > This usage of #collect:displayingProgress: works as expected: > > #(a b c d e f g) > collect: [:each | (Delay forMilliseconds: 100) wait. each ] > displayingProgress: 'Working' > > While this doesn't: > > #(a b c d e f g) > collect: [:each | (Delay forMilliseconds: 100) wait. each ] > displayingProgress: [:each | 'Collecting ', each asString] > > The similar #do:displayingProgress: does work. > It seems the index is passed into the progress block, not the element. > Maybe this is by design ? > > Sven > > > > _______________________________________________ > Pharo-project mailing list > [email protected] > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project _______________________________________________ Pharo-project mailing list [email protected] http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
