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
请先登录再写评论。
Thank you for your feedback!
I just added fix for it.
Best regards,
Alexander Podkhalyuzin.