mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 11:50:57 +07:00
10 lines
201 B
Java
10 lines
201 B
Java
class XXX {
|
|
void foo() {
|
|
int k = 0;
|
|
int n = 2;
|
|
Runnable r = ()->{
|
|
<error descr="Variable used in lambda expression should be final or effectively final">k</error> = n;
|
|
};
|
|
}
|
|
}
|