Add a test for data flow with reassignments in local classes

This commit is contained in:
pyos
2022-12-12 20:01:44 +01:00
committed by Dmitriy Novozhilov
parent 1aae586238
commit c185bf60f8
6 changed files with 250 additions and 0 deletions
@@ -30901,6 +30901,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/lambdaBetweenArguments.kt");
}
@Test
@TestMetadata("objectMembers.kt")
public void testObjectMembers() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/objectMembers.kt");
}
@Test
@TestMetadata("property.kt")
public void testProperty() throws Exception {