mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +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() {
|
||||
SAM<Integer> s3 = m(<selection>(i, j) -> "" + i + j</selection>);
|
||||
}
|
||||
<X> SAM<X> m(SAM<X> s) { return null; }
|
||||
}
|
||||
Reference in New Issue
Block a user