Mainstream D Programming

Janice Caron caron800 at googlemail.com
Sun Oct 14 11:58:25 PDT 2007


On 10/14/07, Ary Manzana <ary at esperanto.org.ar> wrote:
> Please tell me the steps you perform to do the refactor... Say, for
> example, you are renaming the name of a method of class A, and suppose
> there is another class B with the same method name (but you don't want
> to change B's method's name).

Change the method name, then recompile. The compiler will find all the
references using the old name, because they are now compile errors.
Obvious!



More information about the Digitalmars-d mailing list