Hi Lukas. I was playing around RB (actually, looking at your screencasts)
and I found something weird. Steps done:

1) Go to AST, "refactoring scope" -> "package"
2) There, took class RBReplaceRule and "refactor method" -> "rename" to the
method initialize
3) Proceed -> yes

There you will see the list of the initialize methods that it will apply the
refactor. As you can see, all classes affected are RB, BUT Behavior and
CompiledMethod. This is because the package AST has extensions to both
classes. But NONE of those extensions are with the initialize method, but
with parseTreeFor: and parseTree,

So, my question is, shouldn't only apply the refactor to the initialize
method of extended packages ONLY if that method is extended ? Because
otherwise I think it is a bit dangerous.

What do you think ?

I attach screenshot also.

Cheers

Mariano
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to