Bug report

Kurt Thams thams at thams.com
Wed Jan 19 01:21:31 UTC 2000


Don't know if this is the best place to send bug reports. In case it is...


The following code should always trigger an error, assuming that
ReadMe.txt exists and the argument string does not appear in the file.

	(FileStream fileNamed: 'ReadMe.txt') 
		upToAll: 'something not in file'

This halts because PositionableStream->upToEnd: does (collection
species), and collection is always nil for StandardFileStream objects, so
far as I can tell.

I quick and dirty patched this by overriding the method in
StandardFileStream, but I suspect there is more to do here.

-- kurt







More information about the Squeak-dev mailing list