[FIR] Properly propagate deadness from try main block throw finally block
^KT-56476 Fixed
This commit is contained in:
committed by
Space Team
parent
cecf22e035
commit
2a022ca9e0
+6
@@ -6410,6 +6410,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
public void testSimpleClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn/simpleClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("singleReturnFromTry.kt")
|
||||
public void testSingleReturnFromTry() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturn/singleReturnFromTry.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user