[FIR] Support fields as part of graph of class initialization

^KT-49747 Fixed
This commit is contained in:
Dmitriy Novozhilov
2021-11-22 15:41:22 +03:00
committed by teamcityserver
parent 5778cb440f
commit 9c7058c3c5
10 changed files with 343 additions and 2 deletions
@@ -3527,6 +3527,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
runTest("compiler/fir/analysis-tests/testData/resolve/smartcasts/smartCastInInit.kt");
}
@Test
@TestMetadata("smartcastInByClause.kt")
public void testSmartcastInByClause() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/smartcasts/smartcastInByClause.kt");
}
@Test
@TestMetadata("smartcastToNothing.kt")
public void testSmartcastToNothing() throws Exception {