IDEA-232559 Rename record component: field reference is not renamed if getter overload is present

GitOrigin-RevId: 1555b2079dbba1b92d83c0638e5845efca910dc5
This commit is contained in:
Tagir Valeev
2020-02-11 15:10:03 +07:00
committed by intellij-monorepo-bot
parent e08eb714bd
commit 13edb2f136
4 changed files with 29 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
class Main {
private record Rec(int <caret>x, int y) {
public Rec(int x, int y) {
this.x = x;
this.y = y;
}
void x(int y) {}
}
}

View File

@@ -0,0 +1,10 @@
class Main {
private record Rec(int <caret>baz, int y) {
public Rec(int baz, int y) {
this.baz = baz;
this.y = y;
}
void x(int y) {}
}
}