[squeak-dev] The Inbox: CollectionsTests-topa.185.mcz

Levente Uzonyi leves at elte.hu
Wed May 25 08:39:08 UTC 2011


On Tue, 24 May 2011, Tobias Pape wrote:

>
> Am 2011-05-24 um 18:35 schrieb Levente Uzonyi:
>
>> On Tue, 24 May 2011, Tobias Pape wrote:
>>>>>
>>>>> =============== Diff against CollectionsTests-nice.184 ===============
>>> [?]
>>> Btw: is that actually the right pattern for readWrite streams
>>> with pre-filled content?
>>> or should I do things like that in another way?
>>
>> Your assumption looks right. I'd expect
>>
>> ReadWriteStream on: aString
>>
>> to behave just like
>>
>> ReadWriteStream on: aString from: 1 to: aString size
>>
>>
>> Levente
>
>
> So, what would be the correct fix? the one in my
> previous mail or is that the wrong place?

Either your version, or something like:

 	self on: aCollection from: 1 to: aCollection size


Levente

>
> Best
> 	-Tobias
>



More information about the Squeak-dev mailing list