Making var arg kParameters default to empty array no argument given
fixes KT-29969
This commit is contained in:
committed by
Alexander Udalov
parent
b1dbacf45f
commit
34a64d9171
Generated
+10
@@ -19299,6 +19299,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("emptyVarArg.kt")
|
||||
public void testEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt");
|
||||
@@ -19496,6 +19501,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("callByWithEmptyVarArg.kt")
|
||||
public void testCallByWithEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumKClassAnnotation.kt")
|
||||
public void testEnumKClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt");
|
||||
|
||||
+10
@@ -19359,6 +19359,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/defaultInSuperInterface.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("emptyVarArg.kt")
|
||||
public void testEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/emptyVarArg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("extensionFunction.kt")
|
||||
public void testExtensionFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt");
|
||||
@@ -19556,6 +19561,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/arrayOfKClasses.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("callByWithEmptyVarArg.kt")
|
||||
public void testCallByWithEmptyVarArg() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/callByWithEmptyVarArg.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("enumKClassAnnotation.kt")
|
||||
public void testEnumKClassAnnotation() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/createAnnotation/enumKClassAnnotation.kt");
|
||||
|
||||
Reference in New Issue
Block a user