mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
treat captured wildcard type as type parameter type with special upper bound (IDEA-159663)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
|
||||
abstract class AbstractBean<B extends AbstractBean<B>> {
|
||||
|
||||
abstract B foo();
|
||||
abstract void bar();
|
||||
|
||||
private void bar1() {}
|
||||
|
||||
private void getB(AbstractBean<? extends B> bean, B b) {
|
||||
bean.foo().bar();
|
||||
bean.foo().<error descr="'bar1()' has private access in 'AbstractBean'">bar1</error>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user