mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 00:20:55 +07:00
java inference: prevent recursive conflict resolution when it isn't prevented by ResolveCache guard
advanceResolve(incomplete=true) prevents guard to work GitOrigin-RevId: 437ec02af808a89c8339909411bec6d95ff225dc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
4ffc23d976
commit
fb5f755910
@@ -0,0 +1,19 @@
|
||||
import java.util.*;
|
||||
import java.util.function.*;
|
||||
|
||||
class MyTest {
|
||||
void foo(String[] strings){
|
||||
final List<Consumer<String>> list = map2List(strings, str -> s -> asser<caret>tEquals(str, s));
|
||||
}
|
||||
|
||||
static <T, V> List<V> map2List(T[] array, Function<? super T, ? extends V> mapper) {
|
||||
return null;
|
||||
}
|
||||
|
||||
static boolean assertEquals(Object o1, Object o2) {
|
||||
return false;
|
||||
}
|
||||
static boolean assertEquals(String o1, String o2) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user