mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
new inference: take into account site substitutors during additional constraints gathering
This commit is contained in:
+12
@@ -0,0 +1,12 @@
|
||||
import java.util.concurrent.CompletableFuture;
|
||||
|
||||
class CompletableFutureTest {
|
||||
|
||||
void foo(CompletableFuture<String> future3, CompletableFuture<String> future1) throws Exception {
|
||||
onFailure(future1.thenApply(v -> future3));
|
||||
}
|
||||
|
||||
private static <T1> CompletableFuture<T1> onFailure(CompletableFuture<T1> future) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user