mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 14:25:04 +07:00
inference: allow capture during intersection type construction (IDEA-173900)
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
|
||||
abstract class Bug {
|
||||
void m1(){
|
||||
D<?> jobHandler = m();
|
||||
}
|
||||
|
||||
abstract <J extends C<? extends B>> J m();
|
||||
}
|
||||
|
||||
interface B {
|
||||
}
|
||||
|
||||
abstract class C<T extends B> {
|
||||
|
||||
}
|
||||
|
||||
abstract class D<T extends E> extends C<T> {
|
||||
|
||||
}
|
||||
|
||||
abstract class E<T extends String> implements B { }
|
||||
Reference in New Issue
Block a user