FIR CFA: add edges from maybe-throwing statements to catch/finally
This commit is contained in:
+6
@@ -6076,6 +6076,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/scopeOfAnonymousInitializer.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("smartCastInCatch.kt")
|
||||
public void testSmartCastInCatch() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/smartCastInCatch.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("throwInLambda.kt")
|
||||
public void testThrowInLambda() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user