[BUG] ReadStream>>isEmpty ?
Chris Muller
afunkyobject at yahoo.com
Mon Aug 11 04:30:11 UTC 2003
> (ReadStream on: #(1 2 3 4 5) from: 3 to: 3) size
>
> Returns 3.
>
> I have to disagree that size is properly implemented.
Actually, this example demonstrates that from:to: is not properly implemented.
If we do:
(ReadStream on: #(1 2 3 4 5) from: 3 to: 3) contents
we see that size is, in fact, reporting the correct answer.
- Chris
__________________________________
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
|