mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-11-13 00:33:59 +07:00
new inference: take into account site substitutors during additional constraints gathering
This commit is contained in:
1 parent
6a5b57db26
commit
9fc4b68c25
3 files changed
+24
-6
No files matched your search
+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