mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 11:18:16 +07:00
new inference: process fresh variables depending on resolved vars (IDEA-56775)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
class Test {
|
||||
|
||||
class X<F extends Foo, B extends Bar<F, B>> {
|
||||
}
|
||||
class Foo {
|
||||
}
|
||||
class Bar<A, B> {
|
||||
}
|
||||
|
||||
private <F extends Foo, B extends Bar<F, B>> X<F, B> foo() {
|
||||
return null;
|
||||
}
|
||||
|
||||
{
|
||||
X x = foo();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user