Fix SAM conversion generation condition

Remove check if array is passed to vararg parameter as it's not
relevant anymore and leads to ^KT-51821.

^KT-51821: Fixed
This commit is contained in:
vladislav.grechko
2023-02-28 18:55:49 +01:00
committed by teamcity
parent c604577132
commit 7033d78641
14 changed files with 82 additions and 5 deletions
@@ -47661,6 +47661,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
runTest("compiler/testData/codegen/box/sam/kt50477Enabled.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt51821.kt");
}
@Test
@TestMetadata("kt52417.kt")
public void testKt52417() throws Exception {
@@ -47661,6 +47661,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
runTest("compiler/testData/codegen/box/sam/kt50477Enabled.kt");
}
@Test
@TestMetadata("kt51821.kt")
public void testKt51821() throws Exception {
runTest("compiler/testData/codegen/box/sam/kt51821.kt");
}
@Test
@TestMetadata("kt52417.kt")
public void testKt52417() throws Exception {