[MPP] Forbid actual member in expect class
Such member descriptor will be actual and expect at the same time, so we should run both checks. ^KT-40903 Fixed
This commit is contained in:
committed by
Space Team
parent
c3734aa9ce
commit
bcf4528763
+6
@@ -343,6 +343,12 @@ public class FirOldFrontendMPPDiagnosticsWithLightTreeTestGenerated extends Abst
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDifferentConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("actualMethodInExpectClass.kt")
|
||||
public void testActualMethodInExpectClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/actualMethodInExpectClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("actualMissing.kt")
|
||||
public void testActualMissing() throws Exception {
|
||||
|
||||
+6
@@ -343,6 +343,12 @@ public class FirOldFrontendMPPDiagnosticsWithPsiTestGenerated extends AbstractFi
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/actualClassWithDifferentConstructors.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("actualMethodInExpectClass.kt")
|
||||
public void testActualMethodInExpectClass() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/multiplatform/headerClass/actualMethodInExpectClass.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("actualMissing.kt")
|
||||
public void testActualMissing() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user