Evelyn - this is brillian stuff, I appreciate the work going into this to make it all better. Keep pushing on it. Tim On Mon, 8 Feb 2021, at 7:20 PM, Evelyn Cusi Lopez wrote:
Hi,
The current move method to class side refactoring, doesn't correct the senders of this method, neither checks correctly references to instance variables or method calls (on instance side). At the moment this improvement only covers that method's senders won't break, creating a method on instance side with the same name referring to the method on side class, as shown in the example.
- given a method
ClassX >> annotatedBlockMarkup ^ '@@'
the result of this refactoring is:
ClassX >> annotatedBlockMarkup ^ self class annotatedBlockMarkup
ClassX class >> annotatedBlockMarkup ^ '@@'
I still need to improve, but it's a small advance that I wanted to show you to get feedback.
Regards,
Evelyn C.
El lun, 8 feb 2021 a las 14:57, Kasper Osterbye (<kasper.osterbye@gmail.com>) escribió:
Hi
How does your "move method to class side" differ from the one already there?
image.png
Best,
Kasper
*Attachments:* * image.png