mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
introduce variable from lambda expression
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
interface SAM<X> {
|
||||
X m(int i, int j);
|
||||
}
|
||||
|
||||
class Foo {
|
||||
void test() {
|
||||
m(<selection>(i, j) -> i + j</selection>);
|
||||
}
|
||||
void m(SAM<Integer> s) { }
|
||||
}
|
||||
Reference in New Issue
Block a user