mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-17 20:11:25 +07:00
inference: partially resolve before erasure for target type inference
IDEA-192208
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
|
||||
abstract class MyTest {
|
||||
interface A<S> {}
|
||||
interface B<K> {}
|
||||
abstract <_B, _P extends A<_B>> _P foo(B<_B> data);
|
||||
|
||||
public void m(B b) {
|
||||
final A a = foo(b);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user