On 12 Aug 2011, at 12:04, Stéphane Ducasse wrote:
May be we should just do it as in old
= anotherMethodReference "Answer whether the receiver and the argument represent the same object." ^ self species == anotherMethodReference species and: [(self classSymbol = anotherMethodReference classSymbol) and: [(self classIsMeta = anotherMethodReference classIsMeta) and: [self methodSymbol = anotherMethodReference methodSymbol]]]
The one in ring does exactly the same, the super call is checking the parentName and isMetaSide
On Aug 12, 2011, at 11:51 AM, Stéphane Ducasse wrote:
Another question
= aRGMethodDefinition "This method look for equality of the key properties of the receiver"
^(super = aRGMethodDefinition) and:[ self selector == aRGMethodDefinition selector ]
why not category? and source pointer?
S.