Find occurrences or rename refactoring operate also on the class field
value
when the method value is selected and vice versa. This bug occurs only if the return type of the method is the same as the type of the class.class C {
val value = 0
def f = {
val value = 0
println(value)
this
}
}
Leave a comment
I've just pulled out the second issue into a separate ticket: https://scala-ide-portfolio.assembla.com/spaces/scala-ide/tickets/1002562-race-condition-when-trying-to-rename-variable
The first issue should be fixed by: https://github.com/scala-ide/scala-refactoring/pull/102
The first issue should be fixed by: https://github.com/scala-ide/scala-refactoring/pull/102
No file chosen
You have an empty file field. Please select or remove it.
Name | Size |
---|