FIR CFG: handle loops and try/catch when analyzing smartcasts in lambdas
See KT-50092
This commit is contained in:
+6
@@ -30403,6 +30403,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/capturedByNested.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("capturedWithControlJumps.kt")
|
||||
public void testCapturedWithControlJumps() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/capturedWithControlJumps.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("doWhileWithMiddleBreak.kt")
|
||||
public void testDoWhileWithMiddleBreak() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user