mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
IJ-CR-95276 IDEA-301356 GitOrigin-RevId: 7281c53c12f40840de36cc8d7e0c18e20ae8c463
11 lines
226 B
Java
11 lines
226 B
Java
// "Copy 'a' to effectively final temp variable" "true-preview"
|
|
class Test {
|
|
public void test() {
|
|
int a = 1;
|
|
a = 2;
|
|
Runnable r = () -> {
|
|
System.out.println(<caret>a);
|
|
};
|
|
}
|
|
}
|