mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-112173 Smart completion after 'new' should honor upper bound of generic parameters
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
class A<X extends Throwable> {}
|
||||
class B {
|
||||
{
|
||||
m(new A<Throwable>());<caret>
|
||||
}
|
||||
void m(A<?> a) { }
|
||||
}
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
class A<X extends Throwable> {}
|
||||
class B {
|
||||
{
|
||||
m(new <caret>)
|
||||
}
|
||||
void m(A<?> a) { }
|
||||
}
|
||||
Reference in New Issue
Block a user