mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 22:09:38 +07:00
change signature: copy non varargs arg to varargs position (IDEA-65913)
This commit is contained in:
@@ -187,6 +187,13 @@ public class ChangeSignatureTest extends LightCodeInsightTestCase {
|
||||
}, false);
|
||||
}
|
||||
|
||||
public void testVarargs2() throws Exception {
|
||||
doTest(null, new ParameterInfoImpl[] {
|
||||
new ParameterInfoImpl(1, "i", PsiType.INT),
|
||||
new ParameterInfoImpl(0, "b", new PsiEllipsisType(PsiType.BOOLEAN))
|
||||
}, false);
|
||||
}
|
||||
|
||||
public void testCovariantReturnType() throws Exception {
|
||||
doTest("java.lang.Runnable", new ParameterInfoImpl[0], false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user