PositionnableStream>>isEmpty is wrong

Damien Cassou damien.cassou at gmail.com
Tue Feb 27 11:13:09 UTC 2007


Hi,

I'm reading the ANSI Smalltalk Standard 1.9.

Here is the description of #isEmpty:
"Returns true if both the set of past and future sequence values of
the receiver are empty. Otherwise returns false"

However:

(ReadStream on: 'gfssfdfds') isEmpty     => true

I think this is a wrong implementation.

What's your opinion ?

-- 
Damien Cassou



More information about the Squeak-dev mailing list