Rename Refactoring Misses object apply(...) Methods


Given this code:

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

    apply(name: String): BRenamedVariable =

    apply(v: IndividualVariable): BRenamedVariable =

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

评论操作 固定链接

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

Best regards,
Alexander Podkhalyuzin.