[FIR] Fix processing calls on unstable smartcasts with check not null call

This commit is contained in:
Dmitriy Novozhilov
2022-01-19 15:58:13 +03:00
committed by TeamCityServer
parent 1a3841d66d
commit 7d8a8d543f
7 changed files with 84 additions and 6 deletions
@@ -3699,6 +3699,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
runTest("compiler/fir/analysis-tests/testData/resolve/smartcasts/smartcastsFromEquals_sameModule.kt");
}
@Test
@TestMetadata("unstableSmartcastAndAmbiguity.kt")
public void testUnstableSmartcastAndAmbiguity() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolve/smartcasts/unstableSmartcastAndAmbiguity.kt");
}
@Nested
@TestMetadata("compiler/fir/analysis-tests/testData/resolve/smartcasts/booleans")
@TestDataPath("$PROJECT_ROOT")