Very strange bug on Streams and probably compiler

Bert Freudenberg bert at freudenbergs.de
Wed Feb 14 19:58:21 UTC 2007


On Feb 14, 2007, at 20:27 , Roel Wuyts wrote:

> 'foo' = 'foo' 			true		"ok"
> 'foo' == 'foo' 			true		"NOT OK"
> [...]
> I can only conclude that this is really not what you want.....

Why? If you want to test for identity, use a Symbol.

IMHO this is splitting hairs over a non-issue. The issue is  
mutability of literals.

- Bert -





More information about the Squeak-dev mailing list