[FIR] Report VAL_REASSIGNMENT on assign to non-local vals
In this commit reporting on member properties in init section of class is not supported (see KT-55528) ^KT-55493 Fixed
This commit is contained in:
committed by
Space Team
parent
e87a064cdd
commit
02e327277e
+12
@@ -1086,6 +1086,18 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
|
||||
public void testInitializationInTry() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/cfa/initializationInTry.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reassignOfNonLocalProperty_initializedProperties.kt")
|
||||
public void testReassignOfNonLocalProperty_initializedProperties() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/cfa/reassignOfNonLocalProperty_initializedProperties.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("reassignOfNonMemberProperty_lateInitialization.kt")
|
||||
public void testReassignOfNonMemberProperty_lateInitialization() throws Exception {
|
||||
runTest("compiler/fir/analysis-tests/testData/resolve/cfa/reassignOfNonMemberProperty_lateInitialization.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@Nested
|
||||
|
||||
Reference in New Issue
Block a user