[FIR] Assume smartacsts on member properties from friend modules as stable

^KT-57893 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-04-11 16:17:55 +03:00
committed by Space Team
parent 0d1500f23f
commit f8ef478647
8 changed files with 85 additions and 1 deletions
@@ -29764,6 +29764,12 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnWhen.kt");
}
@Test
@TestMetadata("smartcastInFriendModule.kt")
public void testSmartcastInFriendModule() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/smartcastInFriendModule.kt");
}
@Test
@TestMetadata("smartcastOnSameFieldOfDifferentInstances.kt")
public void testSmartcastOnSameFieldOfDifferentInstances() throws Exception {
@@ -29764,6 +29764,12 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated
runTest("compiler/testData/diagnostics/tests/smartCasts/smartCastOnWhen.kt");
}
@Test
@TestMetadata("smartcastInFriendModule.kt")
public void testSmartcastInFriendModule() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/smartcastInFriendModule.kt");
}
@Test
@TestMetadata("smartcastOnSameFieldOfDifferentInstances.kt")
public void testSmartcastOnSameFieldOfDifferentInstances() throws Exception {