Very strange bug on Streams and probably compiler

Damien Cassou damien.cassou at laposte.net
Wed Feb 14 17:06:22 UTC 2007


On Feb 14, 2007, at 5:48 PM, Lukas Renggli wrote:

>> As Bert wrote: it's normal :)
>
> I agree, looks completely normal to me.


Do you agree with the fact that the compiler merges two different  
strings into one single variable ?

Then, how do you explain that?

'test' == 'test'                        => true
'test' == #test asString       => false

"The compiler optimizes... same variable...", I know the explanation,  
but I don't think it should be accepted.

-- 
Damien Cassou



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070214/64a79c16/attachment.htm


More information about the Squeak-dev mailing list