mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 23:39:39 +07:00
new inference: skip parenthesized expressions during additional constrains collection
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import java.util.List;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Collectors;
|
||||
import java.util.stream.Stream;
|
||||
|
||||
abstract class Test {
|
||||
public List<Integer> gerFirstTriangles() {
|
||||
return flatMap((y -> (map((z1 -> (1)))))).collect(Collectors.toList());
|
||||
}
|
||||
|
||||
abstract <R> R flatMap(Function<Integer, R> mapper);
|
||||
abstract <R> Stream<R> map (Function<Integer, R> mapper);
|
||||
}
|
||||
Reference in New Issue
Block a user