FIR CFG: mark variables touched by not-in-place lambdas in all scopes

This commit is contained in:
pyos
2022-06-13 15:42:20 +02:00
committed by teamcity
parent 63b0708ed5
commit 25f66b4e0e
7 changed files with 58 additions and 4 deletions
@@ -30141,6 +30141,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/capturedByMultipleLambdas.kt");
}
@Test
@TestMetadata("capturedByNested.kt")
public void testCapturedByNested() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/capturedByNested.kt");
}
@Test
@TestMetadata("doWhileWithMiddleBreak.kt")
public void testDoWhileWithMiddleBreak() throws Exception {