FIR checker: reproduce KT-42350

This commit is contained in:
Jinseong Jeon
2020-09-30 13:12:59 -07:00
committed by Dmitriy Novozhilov
parent da69e3db7c
commit ea2f773e54
9 changed files with 262 additions and 0 deletions
@@ -3844,6 +3844,16 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirOldFronte
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/assignedInIfElse.kt");
}
@TestMetadata("assignedInTryWithCatch.kt")
public void testAssignedInTryWithCatch() throws Exception {
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/assignedInTryWithCatch.kt");
}
@TestMetadata("assignedInTryWithoutCatch.kt")
public void testAssignedInTryWithoutCatch() throws Exception {
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/assignedInTryWithoutCatch.kt");
}
@TestMetadata("assignmentInLocalsInConstructor.kt")
public void testAssignmentInLocalsInConstructor() throws Exception {
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/assignmentInLocalsInConstructor.kt");