[BUG] ReadStream>>isEmpty ?

Ken Causey ken at kencausey.com
Fri Aug 8 17:35:59 UTC 2003


As a followup, redefining PositionableStream>>isEmpty to collection
isEmpty breaks quite a few things including the use of backspace in most
text panes and selecting from the stack list in the debugger.

Ken

On Fri, 2003-08-08 at 12:24, Ken Causey wrote:
> On Fri, 2003-08-08 at 11:53, Andreas Raab wrote:
> > Clearly, the current behavior of #isEmpty is wrong.
> > 
> > Cheers,
> >   - Andreas
> > 
> 
> Well, now that I've been corrected and given this some thought, I'm
> forced to ask for what isEmpty is supposed to be testing?  My initial
> thought that it was related to eof seems be wrong because there is
> another method atEnd which clearly matches that concept better.  That
> only seems to leave the idea that isEmpty tests whether size = 0.  Any
> other ideas?
> 
> Ken
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030808/2d3d42c2/attachment.pgp


More information about the Squeak-dev mailing list