Same method in different classes do not  equal eachother though, if I've not made a mistake in:
|mrtCp| mrtCp := (InstructionClient>>#methodReturnTop) copy. mrtCp literalAt: 2 put: #ContextPart->ContextPart. (InstructionClient>>#methodReturnTop) = mrtCp
For methods that send super the behavior changes if you change the class binding. That's probably why it is not ignored for #=. In fact I would suggest to #= from compiled method altogether, in most cases it doesn't do what one would expect in a given context anyway. There are too many and possibility completely different interpretations of #= for CompiledMethod. #== is the only decent implementation for this class. Lukas
At the very least, the branches of index = 1 and: [ #(117 120) includes: self primitive ]) Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â ifTrue: [
REALLY deserve some comments...
Cheers, Henry
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Lukas Renggli www.lukas-renggli.ch