[FE 1.0] Deprecate declaration of expect and actual in the same module

^KT-40904 Fixed
^KT-55177 Fixed
This commit is contained in:
Dmitriy Novozhilov
2023-01-13 12:57:59 +02:00
committed by Space Team
parent 71a80c5e36
commit b09561c3c3
18 changed files with 120 additions and 9 deletions
@@ -21228,6 +21228,12 @@ public class DiagnosisCompilerTestFE10TestdataTestGenerated extends AbstractDiag
KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("compiler/testData/diagnostics/tests/multiplatform"), Pattern.compile("^(.+)\\.kt$"), Pattern.compile("^(.+)\\.(fir|ll)\\.kts?$"), true);
}
@Test
@TestMetadata("expectAndActualInSameModule.kt")
public void testExpectAndActualInSameModule() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/expectAndActualInSameModule.kt");
}
@Test
@TestMetadata("expectDataObject.kt")
public void testExpectDataObject() throws Exception {