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:
committed by
teamcity
parent
c604577132
commit
7033d78641
+6
@@ -33965,6 +33965,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/sam/kt17765.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt51821.kt")
|
||||
public void testKt51821() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sam/kt51821.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56188.kt")
|
||||
public void testKt56188() throws Exception {
|
||||
|
||||
+6
@@ -34151,6 +34151,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/sam/kt17765.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt51821.kt")
|
||||
public void testKt51821() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sam/kt51821.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56188.kt")
|
||||
public void testKt56188() throws Exception {
|
||||
|
||||
+6
@@ -34151,6 +34151,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/sam/kt17765.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt51821.kt")
|
||||
public void testKt51821() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sam/kt51821.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56188.kt")
|
||||
public void testKt56188() throws Exception {
|
||||
|
||||
+6
@@ -34151,6 +34151,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/sam/kt17765.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt51821.kt")
|
||||
public void testKt51821() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/sam/kt51821.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("kt56188.kt")
|
||||
public void testKt56188() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user