Rename refactoring for case class parameter should also rename named arguments to apply and copy
Renaming the ctor parameter to abc in the following example
results in:
Ticket moved from https://github.com/scala-ide/scala-refactoring/issues/44
case class CCC(a: Int) {
copy(a = 0)
CCC(a = 23)
val b = this.a
}
results in:
case class CCC(abc: Int) {
copy(a = 0)
CCC(a = 23)
val b = this.abc
}
Ticket moved from https://github.com/scala-ide/scala-refactoring/issues/44
Leave a comment
Correctly handle case classes owned by methods
This commit makes sure that case classes owned by methods are correctly handled
when doing rename refactorings.
Fix #1002501, Fix #1002572 together with the last commits
Branch: master
Commit: scala-ide:dd7ce5dd33
This commit makes sure that case classes owned by methods are correctly handled
when doing rename refactorings.
Fix #1002501, Fix #1002572 together with the last commits
Branch: master
Commit: scala-ide:dd7ce5dd33