java records: component used in outer class: search/rename fixes (IDEA-248803)

GitOrigin-RevId: 658be1b62e613484e82b1e7f24f1157813021179
This commit is contained in:
Anna Kozlova
2020-11-23 11:10:15 +01:00
committed by intellij-monorepo-bot
parent f0c43f370b
commit b93c815fbf
5 changed files with 27 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
class Main {
private record Rec(int x, int y) {
}
{
int i = new Rec(1, 0).<caret>x;
}
}

View File

@@ -0,0 +1,8 @@
class Main {
private record Rec(int baz, int y) {
}
{
int i = new Rec(1, 0).baz;
}
}