mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
inline: substitute ellipsis type before array construction (IDEA-65897)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class Test {
|
||||
<T> void doSmth(T... ps) {
|
||||
System.out.println(ps);
|
||||
}
|
||||
|
||||
void m() {
|
||||
doS<caret>mth(1, 2, 3);
|
||||
}
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
class Test {
|
||||
|
||||
void m() {
|
||||
System.out.println(new Integer[]{1, 2, 3});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user