RenameKotlinPropertyProcessor made not update the property before all references are updated (KT-27602)

because otherwise language independent bean property references couldn't properly handle rename in some cases.

Groovy references were also affected by this bug because they weren't able to resolve to original property
This commit is contained in:
Nicolay Mitropolsky
2019-02-12 21:17:58 +03:00
parent 2bcdadf17f
commit 48619a49ed
3 changed files with 133 additions and 11 deletions
@@ -4,11 +4,11 @@ import testing.rename.*;
class GroovyClient {
public void foo(AP ap, DP dp) {
ap.getSecond
new BP().getSecond
new CP().getSecond
ap.second
new BP().second
new CP().second
dp.getSecond
dp.second
new EP().second
new FP().second
}