[Newbies] PositionableStream>>last

Bert Freudenberg bert at freudenbergs.de
Mon Feb 18 16:44:37 UTC 2013


On 2013-02-18, at 04:38, liang bing <liangbing64 at gmail.com> wrote:

> Hi all,
> I am reaing Class code,PositionableStream>>last
> 
> last
> 	"Return the final element in the receiver"
> 
> 	^ collection at: *position*
> 
> 
> 
> why not collection at: *readLimit*?


That method shouldn't even exist. You're right it's buggy. Very likely (hopefully) to be unused too. Thanks for spotting, should be gone soon :)

- Bert -




More information about the Beginners mailing list