[FIR] Fix false positive "suspension point is inside a critical section"

^KT-55072 Fixed
This commit is contained in:
Ivan Kochurkin
2023-07-17 19:13:32 +02:00
committed by Space Team
parent 30c00f7983
commit d8ccf21894
7 changed files with 105 additions and 20 deletions
@@ -38578,6 +38578,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/kt41430.kt");
}
@Test
@TestMetadata("kt55072.kt")
public void testKt55072() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/kt55072.kt");
}
@Test
@TestMetadata("lambdaExpectedType.kt")
public void testLambdaExpectedType() throws Exception {
@@ -38578,6 +38578,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/kt41430.kt");
}
@Test
@TestMetadata("kt55072.kt")
public void testKt55072() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/coroutines/kt55072.kt");
}
@Test
@TestMetadata("lambdaExpectedType.kt")
public void testLambdaExpectedType() throws Exception {