[FIR] Create intersection overrides for fields in intersection type scope

^KT-56820 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-03-01 13:16:00 +02:00
committed by Space Team
parent 4e56079c59
commit 8c6d4a6f4b
13 changed files with 325 additions and 70 deletions
@@ -4385,6 +4385,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
runTest("compiler/fir/analysis-tests/testData/resolve/smartcasts/smartcastToTypeParameter.kt");
}
@Test
@TestMetadata("smartcastedField.kt")
public void testSmartcastedField() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/smartcasts/smartcastedField.kt");
}
@Test
@TestMetadata("smartcastsFromEquals_differentModule.kt")
public void testSmartcastsFromEquals_differentModule() throws Exception {