[FIR] Skip expect-actual rules check when overriding non-expect member
Overriding equals, hashCode, toString and any other member that is not expect does not require satisfying the rules of expect-actual matching. #KT-57381 Fixed
This commit is contained in:
committed by
Space Team
parent
ef51cf9083
commit
32cc28c6cf
+6
@@ -23207,6 +23207,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/kt-56329.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonExternalEquals.kt")
|
||||
public void testNonExternalEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/nonExternalEquals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeExpectDeclarationsFromMetadata.kt")
|
||||
public void testRemoveExpectDeclarationsFromMetadata() throws Exception {
|
||||
|
||||
+6
@@ -23321,6 +23321,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/kt-56329.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonExternalEquals.kt")
|
||||
public void testNonExternalEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/nonExternalEquals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeExpectDeclarationsFromMetadata.kt")
|
||||
public void testRemoveExpectDeclarationsFromMetadata() throws Exception {
|
||||
|
||||
+6
@@ -23321,6 +23321,12 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/kt-56329.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonExternalEquals.kt")
|
||||
public void testNonExternalEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/nonExternalEquals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeExpectDeclarationsFromMetadata.kt")
|
||||
public void testRemoveExpectDeclarationsFromMetadata() throws Exception {
|
||||
|
||||
+6
@@ -23321,6 +23321,12 @@ public class IrJsES6CodegenBoxTestGenerated extends AbstractIrJsES6CodegenBoxTes
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/kt-56329.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("nonExternalEquals.kt")
|
||||
public void testNonExternalEquals() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/basic/nonExternalEquals.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("removeExpectDeclarationsFromMetadata.kt")
|
||||
public void testRemoveExpectDeclarationsFromMetadata() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user