[Tests] Add a test on smartcasts on properties from dependsOn modules

Behaviour is undesired, will be fixed in the next commit
This commit is contained in:
Dmitry Savvinov
2024-01-25 18:46:45 +01:00
committed by Space Team
parent 74fa6fc12c
commit 337330f8c8
7 changed files with 96 additions and 0 deletions
@@ -34535,6 +34535,12 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/property.kt");
}
@Test
@TestMetadata("propertyFromDependsOnModule.kt")
public void testPropertyFromDependsOnModule() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/propertyFromDependsOnModule.kt");
}
@Test
@TestMetadata("propertyNotNeeded.kt")
public void testPropertyNotNeeded() throws Exception {
@@ -34661,6 +34661,12 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/property.kt");
}
@Test
@TestMetadata("propertyFromDependsOnModule.kt")
public void testPropertyFromDependsOnModule() throws Exception {
runTest("compiler/testData/diagnostics/tests/smartCasts/variables/propertyFromDependsOnModule.kt");
}
@Test
@TestMetadata("propertyNotNeeded.kt")
public void testPropertyNotNeeded() throws Exception {