mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
allow variable introduction inside lambda chain with expression -> block lambda conversion
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
import java.util.function.Function;
|
||||
class Test {
|
||||
|
||||
Function<String, Runnable> f = (str) -> () -> foo(<selection>""</selection>);
|
||||
|
||||
void foo(String s) {}
|
||||
}
|
||||
Reference in New Issue
Block a user