Do not mark comment next to reachable child as unreachable

This commit is contained in:
Svetlana Isakova
2014-06-20 19:47:58 +04:00
parent eec6fbb205
commit 8680ff4e88
3 changed files with 31 additions and 1 deletions
@@ -1451,6 +1451,11 @@ public class JetDiagnosticsTestGenerated extends AbstractJetDiagnosticsTest {
doTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/deadCode/commasAndWhitespaces.kt");
}
@TestMetadata("commentsInDeadCode.kt")
public void testCommentsInDeadCode() throws Exception {
doTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/deadCode/commentsInDeadCode.kt");
}
@TestMetadata("deadCallInInvokeCall.kt")
public void testDeadCallInInvokeCall() throws Exception {
doTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/deadCode/deadCallInInvokeCall.kt");