JS IR: materialize Unit in lambdas
^KT-52010 fixed
This commit is contained in:
committed by
Anton Bannykh
parent
bc3514feae
commit
281e381223
@@ -2959,6 +2959,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/expression/function/lambdaOrLocalFunInsideEnumMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaReturnValue.kt")
|
||||
public void testLambdaReturnValue() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/function/lambdaReturnValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localExtFunction.kt")
|
||||
public void testLocalExtFunction() throws Exception {
|
||||
@@ -8860,6 +8866,12 @@ public class BoxJsTestGenerated extends AbstractBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/regression/kt2470.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt52010.kt")
|
||||
public void testKt52010() throws Exception {
|
||||
runTest("js/js.translator/testData/box/regression/kt52010.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tmpInsidePrimaryConstructor.kt")
|
||||
public void testTmpInsidePrimaryConstructor() throws Exception {
|
||||
|
||||
+12
@@ -3355,6 +3355,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/expression/function/lambdaOrLocalFunInsideEnumMethod.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("lambdaReturnValue.kt")
|
||||
public void testLambdaReturnValue() throws Exception {
|
||||
runTest("js/js.translator/testData/box/expression/function/lambdaReturnValue.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("localExtFunction.kt")
|
||||
public void testLocalExtFunction() throws Exception {
|
||||
@@ -9484,6 +9490,12 @@ public class IrBoxJsTestGenerated extends AbstractIrBoxJsTest {
|
||||
runTest("js/js.translator/testData/box/regression/kt2470.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt52010.kt")
|
||||
public void testKt52010() throws Exception {
|
||||
runTest("js/js.translator/testData/box/regression/kt52010.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("tmpInsidePrimaryConstructor.kt")
|
||||
public void testTmpInsidePrimaryConstructor() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user