mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
[java-highlighting] IDEA-256804 Highlighting bug when using JDK 15 Records
GitOrigin-RevId: fd7fe3f1bcfe89e65f754038b4021ac003abb9f7
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2a18b3e8f9
commit
7c62cd67fe
@@ -6,3 +6,11 @@ record WrittenFields(int x,
|
||||
if (Math.random() > 0.5) <error descr="Cannot assign a value to final variable 'y'">this.y</error> = 1;
|
||||
}
|
||||
}
|
||||
// IDEA-256804
|
||||
record CompactCtorDelegate(String a) {
|
||||
public CompactCtorDelegate {}
|
||||
public CompactCtorDelegate() {
|
||||
this("hello");
|
||||
System.out.println(String.valueOf(this.a.charAt(0)));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user