mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
inference: stop at assignment when walking up to the top level (IDEA-207128)
GitOrigin-RevId: d12b1e0af3e3f2880e14ecb000e82e3afa887228
This commit is contained in:
committed by
intellij-monorepo-bot
parent
076a9cbca4
commit
d8afa71220
+21
@@ -0,0 +1,21 @@
|
||||
import java.util.function.*;
|
||||
|
||||
class A {
|
||||
|
||||
{
|
||||
B<Double> local;
|
||||
method(local = new B<>(new C<>((supplier) -> supplier.get())));
|
||||
}
|
||||
|
||||
void method(B<?> value) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class B<T> {
|
||||
B(C<T> c) { }
|
||||
}
|
||||
|
||||
class C<T> {
|
||||
C(Function<Supplier<T>, T> f) { }
|
||||
}
|
||||
Reference in New Issue
Block a user