mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
10 lines
192 B
Java
10 lines
192 B
Java
class XXX {
|
|
void foo() {
|
|
int k = 0;
|
|
int n = 2;
|
|
Runnable r = ()->{
|
|
<error descr="Variable used in lambda expression should be effectively final">k</error> = n;
|
|
};
|
|
}
|
|
}
|