WriteStream nextPutAll: vs Stream nextPutAll:
Markus Fritsche
Fritsche.Markus at gmx.net
Sun Dec 22 16:56:58 UTC 2002
bitwAttb wrote:
> nextPutAll: to WriteStream class. WriteStream class nextPutAll method
> seems to have been changed in Aug 2001 to, in turn, call super
> nextputAll, so the method call gets handled by Stream class. Stream
> class nextPutAll: returns not a Stream but an instance of the argument
> collection, in this case a String. So Stream nextPutAll: returns
> String class to be reset when
> ImageReadWriter is expecting to have created an i nstance of
> RWBinaryOrText class.
Change
'stream nextPutAll: object.'
to
'stream nextPutAll: object; yourself.'
Regards, Markus
--
http://reauktion.de/archer/
More information about the Squeak-dev
mailing list
|