Retain data flow info after try-finally

This commit is contained in:
Alexander Udalov
2012-11-13 21:17:57 +04:00
parent d629fe2d91
commit ef3e38071c
3 changed files with 31 additions and 3 deletions
@@ -1296,6 +1296,11 @@ public class JetDiagnosticsTestGenerated extends AbstractDiagnosticsTestWithEage
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/TryCatch.kt");
}
@TestMetadata("TryFinally.kt")
public void testTryFinally() throws Exception {
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/TryFinally.kt");
}
@TestMetadata("UnaryExpression.kt")
public void testUnaryExpression() throws Exception {
doTest("compiler/testData/diagnostics/tests/dataFlowInfoTraversal/UnaryExpression.kt");