Identity vs equality (was Re: [Newbies] Assignment)
Lukas Renggli
renggli at gmail.com
Fri Aug 10 14:15:54 UTC 2007
> Hmmm, odd:
>
> 'Hello' = #'Hello' -> true
>
> #'Hello' = 'Hello' -> false
>
> ...that seems to indicate something is a bit wrong. ;)
Yes, this is one of the portability issues Seaside run into when
porting to other Smalltalk dialects. I think a Symbol should never be
equal to a String.
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the Squeak-dev
mailing list
|