Add another test for KT-49715 and fix JS IR behavior

#KT-49715
 #KT-51798 Fixed
This commit is contained in:
Alexander Udalov
2022-04-01 22:46:13 +02:00
committed by Alexander Udalov
parent 24105139ea
commit df86290083
10 changed files with 67 additions and 2 deletions
@@ -9731,6 +9731,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/dataClasses/kt49715.kt");
}
@Test
@TestMetadata("kt49715_behaviorChange.kt")
public void testKt49715_behaviorChange() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/kt49715_behaviorChange.kt");
}
@Test
@TestMetadata("mixedParams.kt")
public void testMixedParams() throws Exception {
@@ -9773,6 +9773,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/dataClasses/kt49715.kt");
}
@Test
@TestMetadata("kt49715_behaviorChange.kt")
public void testKt49715_behaviorChange() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/kt49715_behaviorChange.kt");
}
@Test
@TestMetadata("mixedParams.kt")
public void testMixedParams() throws Exception {
@@ -8554,6 +8554,11 @@ public class IrCodegenBoxWasmTestGenerated extends AbstractIrCodegenBoxWasmTest
runTest("compiler/testData/codegen/box/dataClasses/kt49715.kt");
}
@TestMetadata("kt49715_behaviorChange.kt")
public void testKt49715_behaviorChange() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/kt49715_behaviorChange.kt");
}
@TestMetadata("mixedParams.kt")
public void testMixedParams() throws Exception {
runTest("compiler/testData/codegen/box/dataClasses/mixedParams.kt");