[FIR] Properly handle flexible types during creation of DNNT

^KT-50788 Fixed
This commit is contained in:
Dmitriy Novozhilov
2022-01-14 16:49:38 +03:00
parent be020c588c
commit 57346bac54
8 changed files with 46 additions and 4 deletions
@@ -3533,6 +3533,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
runTest("compiler/fir/analysis-tests/testData/resolve/smartcasts/kt39000.kt");
}
@Test
@TestMetadata("kt50788.kt")
public void testKt50788() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/smartcasts/kt50788.kt");
}
@Test
@TestMetadata("multipleCasts.kt")
public void testMultipleCasts() throws Exception {