Am 08.11.2011 um 14:54 schrieb Henrik Sperre Johansen:

> On 08.11.2011 14:44, Benjamin wrote:
>> Hi guys,
>> 
>> during my experimentations, I found out that
>> 
>> #plop = 'plop' -->  true
>> 
>> no matter what the symbol and his textual representation are.
>> 
>> 
>> Is that expected ?
>> 
>> 
>> Ben
>> 
> http://code.google.com/p/pharo/issues/detail?id=331
> 
> Cheers,
> Henry
> 
Arrrgghh, this issue starts so well and ends so badly :) Ok, if I take the last 
words from Marcus/Stephane than I suggest to change e.g.

SequenceableCollection>>= otherCollection 
        ...
        self == otherCollection ifTrue: [^ true].
        self species == otherCollection species ifFalse: [^ false].
        ^ self hasEqualElements: otherCollection

to 

SequenceableCollection>>= otherCollection 
        ...
        self == otherCollection ifTrue: [^ true].
        ^ self hasEqualElements: otherCollection

Would be nice and cozy without the rubbish species check :)

Norbert


Reply via email to