Two compiled methods with same byte code, even with different selectors are equals (and people laughed at me when I found that disturbing)
Ben On Mar 28, 2013, at 11:51 AM, stephane ducasse <stephane.duca...@free.fr> wrote: > > On Mar 28, 2013, at 11:21 AM, Norbert Hartl <norb...@hartl.name> wrote: > >> What is the rationale for having the method pane as multi-select list? I >> don't think it is of greater use when editing code. I could imagine that >> some refactoring tasks could be easier having multi-select lists. >> >> Anyway, if I try to rename a method without using the refactoring engine I >> just change the selector, save and delete the method with the old selector. >> In pharo 2.0 when you rename a method and then click on the old selector >> both methods are selected and shortcut invocation for deleting deletes both. >> Which is quite annoying. In my opinion there is no reason for two methods >> being selected. If you agree I'll happily enter a bug. > > > The problem is not a nautilus bug but a compiled method one if I remember > correctly. > because two methods with the same body are equal. > >> Norbert > >