mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 17:07:05 +07:00
lambda: testdata
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
class Test {
|
||||
interface I<T extends Number> {
|
||||
void _(T t);
|
||||
}
|
||||
|
||||
void foo(Object o) { }
|
||||
|
||||
void test() {
|
||||
I<?> i1 = (x) -> {};
|
||||
I<?> i2 = this :: foo;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user