[JS IR] Add case with bridge for method with default parameters

This commit is contained in:
Ilya Goncharov
2022-10-25 18:28:15 +04:00
committed by Space Team
parent 23144b92d8
commit 372a512c91
9 changed files with 70 additions and 0 deletions
@@ -1547,6 +1547,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/bridges/nestedClassTypeParameters.kt");
}
@Test
@TestMetadata("methodWithDefaultParameter.kt")
public void testMethodWithDefaultParameter() throws Exception {
runTest("compiler/testData/codegen/box/bridges/methodWithDefaultParameter.kt");
}
@Test
@TestMetadata("noBridgeOnMutableCollectionInheritance.kt")
public void testNoBridgeOnMutableCollectionInheritance() throws Exception {
@@ -1601,6 +1601,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/bridges/nestedClassTypeParameters.kt");
}
@Test
@TestMetadata("methodWithDefaultParameter.kt")
public void testMethodWithDefaultParameter() throws Exception {
runTest("compiler/testData/codegen/box/bridges/methodWithDefaultParameter.kt");
}
@Test
@TestMetadata("noBridgeOnMutableCollectionInheritance.kt")
public void testNoBridgeOnMutableCollectionInheritance() throws Exception {
@@ -1422,6 +1422,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/bridges/nestedClassTypeParameters.kt");
}
@TestMetadata("methodWithDefaultParameter.kt")
public void testMethodWithDefaultParameter() throws Exception {
runTest("compiler/testData/codegen/box/bridges/methodWithDefaultParameter.kt");
}
@TestMetadata("noBridgeOnMutableCollectionInheritance.kt")
public void testNoBridgeOnMutableCollectionInheritance() throws Exception {
runTest("compiler/testData/codegen/box/bridges/noBridgeOnMutableCollectionInheritance.kt");