[squeak-dev] surprising behavior from MultiByteBinaryOrTextStream>>#contents

Yoshiki Ohshima Yoshiki.Ohshima at acm.org
Tue Sep 3 22:02:15 UTC 2013


At Tue, 3 Sep 2013 16:49:27 -0500,
Chris Muller wrote:
> 
> Well, that fix does not break any tests.  Anything asking for
> #contents that only needs #upToEnd deserves to break.

Etoys loading and saving may be relying on the (inconsistent) bahavior, though.  And there is #with:

(RWBinaryOrTextStream with: 'abc') contents => 'abc'.
(MultiByteBinaryOrTextStream with: 'hello') reset contents => 'abc'.

-- Yoshiki


More information about the Squeak-dev mailing list