Aug. 12, 2011
10:04 a.m.
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]]] 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.