[squeak-dev] TestRunner not assigning strings/remembering old values of temp vars.

Bert Freudenberg bert at freudenbergs.de
Sun Jul 25 16:40:16 UTC 2010


On 25.07.2010, at 04:22, Rob Withers wrote:

> Thanks for pointing this out.  I am not happy about this at all.  It is very non-intuitive, all due to an optimization that limits my expressiveness.

If string literals were immutable you would have to copy them yourself, too. So in any case you need to write 

	plain := 'squeaker' copy

if you intend to modify that string in-place.

- Bert -





More information about the Squeak-dev mailing list