[JS IR] Add case with bridge for method with default parameters
This commit is contained in:
committed by
Space Team
parent
23144b92d8
commit
372a512c91
+6
@@ -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 {
|
||||
|
||||
+6
@@ -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 {
|
||||
|
||||
+5
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user