completion: presume fresh variables have always low bounds during completion

IDEA-190041
This commit is contained in:
Anna Kozlova
2018-06-01 11:12:35 +03:00
parent d5ac0965cf
commit 2c5117ba22
5 changed files with 37 additions and 0 deletions
@@ -0,0 +1,9 @@
interface Foo<T extends Foo<T>> {
static <F extends Foo<F>> void foo(F f) {
bar(f);<caret>
}
static <B extends Foo<B>> void bar(B b) { }
}
@@ -0,0 +1,9 @@
interface Foo<T extends Foo<T>> {
static <F extends Foo<F>> void foo(F f) {
bar(<caret>);
}
static <B extends Foo<B>> void bar(B b) { }
}