FE: add test for KT-58332 (K2 fails with ARGUMENT_TYPE_MISMATCH)

This commit is contained in:
Mikhail Glukhikh
2023-05-05 09:55:33 +02:00
committed by Space Team
parent 11e1bcca1d
commit aec0def5ca
10 changed files with 86 additions and 0 deletions
@@ -2252,6 +2252,12 @@ public class FirLightTreeJsIrTextTestGenerated extends AbstractFirLightTreeJsIrT
runTest("compiler/testData/ir/irText/firProblems/localCompanion.kt");
}
@Test
@TestMetadata("LocalSuspendFun.kt")
public void testLocalSuspendFun() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/LocalSuspendFun.kt");
}
@Test
@TestMetadata("readWriteProperty.kt")
public void testReadWriteProperty() throws Exception {
@@ -2252,6 +2252,12 @@ public class FirPsiJsIrTextTestGenerated extends AbstractFirPsiJsIrTextTest {
runTest("compiler/testData/ir/irText/firProblems/localCompanion.kt");
}
@Test
@TestMetadata("LocalSuspendFun.kt")
public void testLocalSuspendFun() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/LocalSuspendFun.kt");
}
@Test
@TestMetadata("readWriteProperty.kt")
public void testReadWriteProperty() throws Exception {
@@ -2252,6 +2252,12 @@ public class ClassicJsIrTextTestGenerated extends AbstractClassicJsIrTextTest {
runTest("compiler/testData/ir/irText/firProblems/localCompanion.kt");
}
@Test
@TestMetadata("LocalSuspendFun.kt")
public void testLocalSuspendFun() throws Exception {
runTest("compiler/testData/ir/irText/firProblems/LocalSuspendFun.kt");
}
@Test
@TestMetadata("readWriteProperty.kt")
public void testReadWriteProperty() throws Exception {