mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
lambda: infer lambda param types in method call, return statement context
This commit is contained in:
+1
-1
@@ -28,7 +28,7 @@ class C {
|
||||
|
||||
void test() {
|
||||
Simplest simplest = () -> { };
|
||||
use(<weak_warning descr="Lambda expressions type check is not yet implemented">() -> { }</weak_warning>);
|
||||
use(() -> { });
|
||||
|
||||
IntParser intParser = (String s) -> Integer.parseInt(s);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user