mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
new inference: postpone resolution of independent vars (IDEA-125674)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
class Test {
|
||||
void foo(final Stream<String> stream){
|
||||
stream.collect(Collectors.toMap(s -> s, s -> s, (a, b) -> a.length() > b. length() ? a : b));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user