mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
inference: treeWalkUp if overload is done under current argumentList caused by lambda parameter type inference (IDEA-157676)
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
class Test {
|
||||
public void foo(Stream<String> stream) {
|
||||
stream.collect(Collectors.toMap(null, e -> bar(e)));
|
||||
}
|
||||
|
||||
public String bar(int entity) { return null; }
|
||||
public String bar(String entity) { return null; }
|
||||
}
|
||||
Reference in New Issue
Block a user