Sept. 6, 2010
10:07 a.m.
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