[BUG] ReadStream>>isEmpty ?

Chris Muller afunkyobject at yahoo.com
Fri Aug 8 20:18:42 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.

A safer bet would be to implement isEmpty in ReadStream to:

  ^self size = 0

Did you try that and did you notice any impacts?



__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the Squeak-dev mailing list