mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
11 lines
237 B
Java
11 lines
237 B
Java
// "Copy 'i' to effectively final temp variable" "true-preview"
|
|
class Main {
|
|
void foo(int i) {
|
|
switch (i) {
|
|
case 42 -> () -> System.out.println(i<caret>)
|
|
default -> {}
|
|
}
|
|
i = 0;
|
|
}
|
|
}
|