PSI2IR fix suspend conversion tests
- support chained suspend conversion + SAM conversion - support suspend conversion in vararg elements
This commit is contained in:
committed by
teamcityserver
parent
0cc6fbbc6e
commit
d41fc0b599
Generated
+18
@@ -1058,6 +1058,12 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
||||
runTest("compiler/testData/ir/irText/expressions/chainOfSafeCalls.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("chainedFunSuspendConversionForSimpleExpression.kt")
|
||||
public void testChainedFunSuspendConversionForSimpleExpression() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/chainedFunSuspendConversionForSimpleExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("classReference.kt")
|
||||
public void testClassReference() throws Exception {
|
||||
@@ -1646,12 +1652,24 @@ public class Fir2IrTextTestGenerated extends AbstractFir2IrTextTest {
|
||||
runTest("compiler/testData/ir/irText/expressions/stringTemplates.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendConversionInVararg.kt")
|
||||
public void testSuspendConversionInVararg() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/suspendConversionInVararg.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendConversionOnArbitraryExpression.kt")
|
||||
public void testSuspendConversionOnArbitraryExpression() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendConversionWithFunInterfaces.kt")
|
||||
public void testSuspendConversionWithFunInterfaces() throws Exception {
|
||||
runTest("compiler/testData/ir/irText/expressions/suspendConversionWithFunInterfaces.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("temporaryInEnumEntryInitializer.kt")
|
||||
public void testTemporaryInEnumEntryInitializer() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user