Rename Refactoring Misses object apply(...) Methods

Hi,

Given this code:

object          RenamedVariable
{
    import rho.cdt.{BRVPool, BRenamedVariable}


    def
    apply(name: String): BRenamedVariable =
        BRVPool(name)


    def
    apply(v: IndividualVariable): BRenamedVariable =
        BRVPool(v)
}



If I perform a rename refactoring on BRVPool (which resides in a different source file), only the import is changed, not the two (implicit) calls to BRVPool's apply methods (in this object's own apply() methods). On the other hand, performing a rename refactoring on BRenamedVariable fixes both the import and the two return type annotations.


Randall Schulz

1 comment
Comment actions Permalink

Thank you for your feedback!
I just added fix for it.

Best regards,
Alexander Podkhalyuzin.

0

Please sign in to leave a comment.