FirCallCompleter: unwrap definitely not-null type properly

#KT-50180 Fixed
This commit is contained in:
Mikhail Glukhikh
2021-12-10 17:03:44 +03:00
parent febf336d23
commit df50a8141f
6 changed files with 55 additions and 2 deletions
@@ -5555,6 +5555,12 @@ public class DiagnosisCompilerFirTestdataTestGenerated extends AbstractDiagnosis
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/DeepCopyIrTree.kt");
}
@Test
@TestMetadata("definitelyNotNullCast.kt")
public void testDefinitelyNotNullCast() throws Exception {
runTest("compiler/fir/analysis-tests/testData/resolveWithStdlib/problems/definitelyNotNullCast.kt");
}
@Test
@TestMetadata("EnumMapGet.kt")
public void testEnumMapGet() throws Exception {