BUG with OrderedCollection new writeStream ?

Damien Pollet damien.pollet at gmail.com
Thu Sep 20 18:34:44 UTC 2007


On 20/09/2007, Paolo Bonzini <bonzini at gnu.org> wrote:
> Damien Pollet wrote:
> > foo := OrderedCollection new writeStream.
> > foo nextPut: 42. "Say hello to the debugger"

In fact I think I have already been bitten by this :(

> The #writeStream method is in practice usable only for
> ArrayedCollections; Glorp for example uses an AddingWriteStream which is
> little more than an adaptor (#contents returns the collection, #nextPut:
> uses #addAll:).  I'm curious, how does Nile solve this problem?

I will definitely have a look at Nile, I was around when Damien worked
on it but I didn't get to actually use it.

-- 
Damien Pollet
type less, do more [ | ] http://typo.cdlm.fasmz.org



More information about the Squeak-dev mailing list