mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-16 02:27:18 +07:00
Java Records: do not generate non-physical assignments for records, handle it separately
GitOrigin-RevId: 73d10fc5b48e08efd4f0e0bbee019b7263a7e098
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3cdbb65fec
commit
9f7fd6f214
+5
@@ -46,4 +46,9 @@ record NotInitializedField(int <error descr="Record component 'x' might not be i
|
||||
if (Math.random() > 0.5) this.y = y;
|
||||
this.z = z;
|
||||
}
|
||||
}
|
||||
record ImplicitCanonicalConstructor(String s) {
|
||||
static void test() {
|
||||
new ImplicitCanonicalConstructor("Asdasd");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user