mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-09 16:39:37 +07:00
new inference: substitute resolved vars which e.g. did not participate in initial session (IDEA-123248)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
class App {
|
||||
|
||||
void foo(Stream<Integer> boxed) {
|
||||
final Map<Integer, Integer> count = boxed.collect(HashMap::new, null, HashMap::putAll);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user