added edge from try start to error through finally block
KT-2845 Wrong cf-analysys for variable initialization in try..finally #KT-2845 fixed todo: some errors now are reported for several times (each time when analyzing finally block)
This commit is contained in:
@@ -894,6 +894,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
|
||||
doTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/kt2330.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt2845.kt")
|
||||
public void testKt2845() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/kt2845.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("kt510.kt")
|
||||
public void testKt510() throws Exception {
|
||||
doTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/kt510.kt");
|
||||
|
||||
Reference in New Issue
Block a user