[BUG] equivalence between strings and symbols

Lex Spoon lex at cc.gatech.edu
Mon Apr 10 23:12:57 UTC 2000


"R. A. Harmon" <harmonra at webname.com> wrote:
> At 10:27 AM 4/10/00 -0700, John W. Sarkela wrote:
> [snip]
> >Given the standard I believe that either #= in SequenceableCollection
> >should check for class equality rather than species equality
> [snip]
> 
> I spent a half day playing around with changing SequenceableCollection >> #=
> to use class, and changing String >> #= to use class or removing it
> completely (I thought this should also work, but maybe slower).
> 
> Squeak did not like these changes.


The opposite change, which allows #abc = 'abc', seems to cause less
trouble :)  Granted, I've only been trying it out for a few hours at
this point.



-Lex





More information about the Squeak-dev mailing list