On 30 September 2010 14:33, TimM <tamackinnon@gmail.com> wrote:
I logged issue http://code.google.com/p/pharo/issues/detail?id=2817 where I noted that code using a symbol like the following example doesn't get refactored in pharo (e.g. changing the modelChanged method doesn't change this code):
model announcer subscribe: ElephantModelChanged send: #modelChanged to: self
I was surprised by this as in Dolphin it works - and I never thought twice about it - to me, symbol = selector. Renaming a method, or adding a parameter to a method would also affect matching symbols.
Renaming a method also changes all the symbols in my image. Adding or reordering parameters however does not touch the symbols. I remember having read an explanation of John/Don that they explicitly decided not to do so, because it would also require to rewrite #perform: and similar methods that are not known. Lukas -- Lukas Renggli www.lukas-renggli.ch