BUG with OrderedCollection new writeStream ?

Paolo Bonzini bonzini at gnu.org
Thu Sep 20 17:33:12 UTC 2007


Damien Pollet wrote:
> foo := OrderedCollection new writeStream.
> foo nextPut: 42. "Say hello to the debugger"

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?

Paolo



More information about the Squeak-dev mailing list