K2: handle suspend anonymous functions properly in various compiler parts
#KT-58332 Fixed
This commit is contained in:
committed by
Space Team
parent
aec0def5ca
commit
0906258d03
+6
@@ -32222,6 +32222,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
|
||||
runTest("compiler/testData/diagnostics/tests/suspendConversion/suspendAndFunConversionInDisabledMode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendCallFromAnonymousSuspend.kt")
|
||||
public void testSuspendCallFromAnonymousSuspend() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/suspendConversion/suspendCallFromAnonymousSuspend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendConversionCompatibility.kt")
|
||||
public void testSuspendConversionCompatibility() throws Exception {
|
||||
|
||||
+6
@@ -32222,6 +32222,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
|
||||
runTest("compiler/testData/diagnostics/tests/suspendConversion/suspendAndFunConversionInDisabledMode.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendCallFromAnonymousSuspend.kt")
|
||||
public void testSuspendCallFromAnonymousSuspend() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/suspendConversion/suspendCallFromAnonymousSuspend.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("suspendConversionCompatibility.kt")
|
||||
public void testSuspendConversionCompatibility() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user