Renaming `override val` breaks code
Start with
in separate files.
Now renaming
trait Bug {
def x = 42
}
class Buggy extends Bug {
override val x = 43
}
class MoreBugs extends Buggy {
override val x = 99
}
in separate files.
Now renaming
x
in Buggy
will not rename x
in Bug
. Renaming x
in MoreBugs
will not rename x
in Buggy
or Bug
.
Leave a comment
See https://github.com/scala-ide/scala-refactoring/pull/82, which also fixes #1002435.
on 2015-05-03 09:21 *
By Simon Schäfer
Assigned to set to mlangc
Status changed from Accepted to Fixed