[FIR] Fix IncDecOperatorsInExpectClass for FIR, add multi-module test

- `IncDecOperatorsInExpectClass.kt` should produce an
  `ACTUAL_WITHOUT_EXPECT` in K2 (see KT-55177). This went unnoticed
  because of KT-55570.
- A similar multi-module test for K1 and K2 has been added, called:
  `multiplatform/incDecOperatorsInExpectClass.kt`.
This commit is contained in:
Marco Pennekamp
2022-12-20 17:46:55 +01:00
committed by teamcity
parent 2faa247075
commit 1803bd36cc
8 changed files with 67 additions and 1 deletions
@@ -21362,6 +21362,12 @@ public class FirOldFrontendDiagnosticsTestGenerated extends AbstractFirDiagnosti
runTest("compiler/testData/diagnostics/tests/multiplatform/implFakeOverride.kt");
}
@Test
@TestMetadata("incDecOperatorsInExpectClass.kt")
public void testIncDecOperatorsInExpectClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/incDecOperatorsInExpectClass.kt");
}
@Test
@TestMetadata("incompatibles.kt")
public void testIncompatibles() throws Exception {
@@ -21356,6 +21356,12 @@ public class FirOldFrontendDiagnosticsWithLightTreeTestGenerated extends Abstrac
runTest("compiler/testData/diagnostics/tests/multiplatform/implFakeOverride.kt");
}
@Test
@TestMetadata("incDecOperatorsInExpectClass.kt")
public void testIncDecOperatorsInExpectClass() throws Exception {
runTest("compiler/testData/diagnostics/tests/multiplatform/incDecOperatorsInExpectClass.kt");
}
@Test
@TestMetadata("incompatibles.kt")
public void testIncompatibles() throws Exception {