diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/DiagnosticCompilerTestFE10TestdataTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/DiagnosticCompilerTestFE10TestdataTestGenerated.java index a3f153f710a..18cc3b3ce6f 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/DiagnosticCompilerTestFE10TestdataTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/DiagnosticCompilerTestFE10TestdataTestGenerated.java @@ -471,12 +471,6 @@ public class DiagnosticCompilerTestFE10TestdataTestGenerated extends AbstractDia runTest("compiler/testData/diagnostics/tests/IncDec.kt"); } - @Test - @TestMetadata("IncDecOperatorsInExpectClass.kt") - public void testIncDecOperatorsInExpectClass() throws Exception { - runTest("compiler/testData/diagnostics/tests/IncDecOperatorsInExpectClass.kt"); - } - @Test @TestMetadata("IncorrectCharacterLiterals.kt") public void testIncorrectCharacterLiterals() throws Exception { diff --git a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated.java b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated.java index 69baf9e3666..d5b4196ace6 100644 --- a/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated.java +++ b/analysis/low-level-api-fir/tests/org/jetbrains/kotlin/analysis/low/level/api/fir/diagnostic/compiler/based/LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated.java @@ -471,12 +471,6 @@ public class LLFirPreresolvedReversedDiagnosticCompilerFE10TestDataTestGenerated runTest("compiler/testData/diagnostics/tests/IncDec.kt"); } - @Test - @TestMetadata("IncDecOperatorsInExpectClass.kt") - public void testIncDecOperatorsInExpectClass() throws Exception { - runTest("compiler/testData/diagnostics/tests/IncDecOperatorsInExpectClass.kt"); - } - @Test @TestMetadata("IncorrectCharacterLiterals.kt") public void testIncorrectCharacterLiterals() throws Exception { diff --git a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirLightTreeOldFrontendDiagnosticsTestGenerated.java b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirLightTreeOldFrontendDiagnosticsTestGenerated.java index 4618bcf2b9d..5e7bd803b76 100644 --- a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirLightTreeOldFrontendDiagnosticsTestGenerated.java +++ b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirLightTreeOldFrontendDiagnosticsTestGenerated.java @@ -471,12 +471,6 @@ public class FirLightTreeOldFrontendDiagnosticsTestGenerated extends AbstractFir runTest("compiler/testData/diagnostics/tests/IncDec.kt"); } - @Test - @TestMetadata("IncDecOperatorsInExpectClass.kt") - public void testIncDecOperatorsInExpectClass() throws Exception { - runTest("compiler/testData/diagnostics/tests/IncDecOperatorsInExpectClass.kt"); - } - @Test @TestMetadata("IncorrectCharacterLiterals.kt") public void testIncorrectCharacterLiterals() throws Exception { diff --git a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirPsiOldFrontendDiagnosticsTestGenerated.java b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirPsiOldFrontendDiagnosticsTestGenerated.java index ef9bda99943..337e0ac6a77 100644 --- a/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirPsiOldFrontendDiagnosticsTestGenerated.java +++ b/compiler/fir/analysis-tests/tests-gen/org/jetbrains/kotlin/test/runners/FirPsiOldFrontendDiagnosticsTestGenerated.java @@ -471,12 +471,6 @@ public class FirPsiOldFrontendDiagnosticsTestGenerated extends AbstractFirPsiDia runTest("compiler/testData/diagnostics/tests/IncDec.kt"); } - @Test - @TestMetadata("IncDecOperatorsInExpectClass.kt") - public void testIncDecOperatorsInExpectClass() throws Exception { - runTest("compiler/testData/diagnostics/tests/IncDecOperatorsInExpectClass.kt"); - } - @Test @TestMetadata("IncorrectCharacterLiterals.kt") public void testIncorrectCharacterLiterals() throws Exception { diff --git a/compiler/testData/diagnostics/tests/IncDecOperatorsInExpectClass.fir.kt b/compiler/testData/diagnostics/tests/IncDecOperatorsInExpectClass.fir.kt deleted file mode 100644 index 05a0cd07fa5..00000000000 --- a/compiler/testData/diagnostics/tests/IncDecOperatorsInExpectClass.fir.kt +++ /dev/null @@ -1,13 +0,0 @@ -// In FIR, declaring the same `expect` and `actual` classes in one compiler module is not possible (see KT-55177). Hence the `.fir.kt` test -// expects a diagnostic here. The multi-module test corresponding to this test is called: `multiplatform/incDecOperatorsInExpectClass.kt`. - -// !LANGUAGE: +MultiPlatformProjects -// SKIP_TXT -// Issue: KT-49714 - -expect class Counter { - operator fun inc(): Counter - operator fun dec(): Counter -} - -actual typealias Counter = Int diff --git a/compiler/testData/diagnostics/tests/IncDecOperatorsInExpectClass.kt b/compiler/testData/diagnostics/tests/IncDecOperatorsInExpectClass.kt deleted file mode 100644 index cb74ed08853..00000000000 --- a/compiler/testData/diagnostics/tests/IncDecOperatorsInExpectClass.kt +++ /dev/null @@ -1,13 +0,0 @@ -// In FIR, declaring the same `expect` and `actual` classes in one compiler module is not possible (see KT-55177). Hence the `.fir.kt` test -// expects a diagnostic here. The multi-module test corresponding to this test is called: `multiplatform/incDecOperatorsInExpectClass.kt`. - -// !LANGUAGE: +MultiPlatformProjects -// SKIP_TXT -// Issue: KT-49714 - -expect class Counter { - operator fun inc(): Counter - operator fun dec(): Counter -} - -actual typealias Counter = Int diff --git a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/DiagnosticTestGenerated.java b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/DiagnosticTestGenerated.java index 809a5f627b8..a5271203cdd 100644 --- a/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/DiagnosticTestGenerated.java +++ b/compiler/tests-common-new/tests-gen/org/jetbrains/kotlin/test/runners/DiagnosticTestGenerated.java @@ -471,12 +471,6 @@ public class DiagnosticTestGenerated extends AbstractDiagnosticTest { runTest("compiler/testData/diagnostics/tests/IncDec.kt"); } - @Test - @TestMetadata("IncDecOperatorsInExpectClass.kt") - public void testIncDecOperatorsInExpectClass() throws Exception { - runTest("compiler/testData/diagnostics/tests/IncDecOperatorsInExpectClass.kt"); - } - @Test @TestMetadata("IncorrectCharacterLiterals.kt") public void testIncorrectCharacterLiterals() throws Exception {