[FIR] Pass implications from subject of safe call in DFA

^KT-59689 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-10-17 15:56:45 +03:00
committed by Space Team
parent 5d3402339e
commit 43929398da
8 changed files with 137 additions and 7 deletions
@@ -39195,6 +39195,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/reifiedGeneric.kt");
}
@Test
@TestMetadata("returnsImpliesAndSafeCalls.kt")
public void testReturnsImpliesAndSafeCalls() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/returnsImpliesAndSafeCalls.kt");
}
@Test
@TestMetadata("safecallAndReturnsNull.kt")
public void testSafecallAndReturnsNull() throws Exception {
@@ -39195,6 +39195,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/reifiedGeneric.kt");
}
@Test
@TestMetadata("returnsImpliesAndSafeCalls.kt")
public void testReturnsImpliesAndSafeCalls() throws Exception {
runTest("compiler/testData/diagnostics/testsWithStdLib/contracts/smartcasts/returnsImpliesAndSafeCalls.kt");
}
@Test
@TestMetadata("safecallAndReturnsNull.kt")
public void testSafecallAndReturnsNull() throws Exception {