[FIR] Run CFA for member properties even if they have initializer
^KT-56678 Fixed ^KT-56682 Fixed
This commit is contained in:
committed by
Space Team
parent
de84cb8038
commit
c87e489dc9
+12
@@ -5696,6 +5696,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/definiteReturnInWhen.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedMemberProperyWriteInInit.kt")
|
||||
public void testDelegatedMemberProperyWriteInInit() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/delegatedMemberProperyWriteInInit.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("delegatedPropertyEarlyAccess.kt")
|
||||
public void testDelegatedPropertyEarlyAccess() throws Exception {
|
||||
@@ -6116,6 +6122,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/tryWithAssignmentUsedInCatch.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("uninintializedProperyWithDirectAndDelayedInitialization.kt")
|
||||
public void testUninintializedProperyWithDirectAndDelayedInitialization() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/controlFlowAnalysis/uninintializedProperyWithDirectAndDelayedInitialization.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("uninitializedCompanionOfEnum_after.kt")
|
||||
public void testUninitializedCompanionOfEnum_after() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user