mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 20:39:40 +07:00
introduce array from varargs expression: preserve the method call (IDEA-75519)
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
class B1 {
|
||||
public B1(int i, String... s) {}
|
||||
}
|
||||
class A1 extends B1 {
|
||||
A1() {
|
||||
super(1, <selection>"a", "b"</selection>);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
class B1 {
|
||||
public B1(int i, String... s) {}
|
||||
}
|
||||
class A1 extends B1 {
|
||||
public static final String[] xxx = new String[]{"a", "b"};
|
||||
|
||||
A1() {
|
||||
super(1, xxx);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user