introduce array from varargs expression: preserve the method call (IDEA-75519)

This commit is contained in:
anna
2011-10-14 15:42:04 +02:00
parent c272f2781e
commit 5cf4f5c155
4 changed files with 25 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
class B1 {
public B1(int i, String... s) {}
}
class A1 extends B1 {
A1() {
super(1, <selection>"a", "b"</selection>);
}
}

View File

@@ -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);
}
}