[IrActualizer] Don't actualize expect types
This was never semantically correct, but was not important before KT-63644, as they were immediately dropped after that anyway. After KT-63644, they were used to compute fake overrides inside them, which were later matched against actual class, which can produce false-positive matching errors. ^KT-64835
This commit is contained in:
committed by
Space Team
parent
cf3672314a
commit
9374cacdd6
+6
@@ -27829,6 +27829,12 @@ public class FirNativeCodegenBoxTestGenerated extends AbstractNativeCodegenBoxTe
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/anonymousObjectAndSpecificImplementationInDeserializedIr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("covariantOverrideInActual.kt")
|
||||
public void testCovariantOverrideInActual() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/covariantOverrideInActual.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dataClassInCommonAndPlatform.kt")
|
||||
public void testDataClassInCommonAndPlatform() throws Exception {
|
||||
|
||||
+6
@@ -28461,6 +28461,12 @@ public class FirNativeCodegenBoxTestNoPLGenerated extends AbstractNativeCodegenB
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/anonymousObjectAndSpecificImplementationInDeserializedIr.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("covariantOverrideInActual.kt")
|
||||
public void testCovariantOverrideInActual() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/multiplatform/k2/covariantOverrideInActual.kt");
|
||||
}
|
||||
|
||||
@Test
|
||||
@TestMetadata("dataClassInCommonAndPlatform.kt")
|
||||
public void testDataClassInCommonAndPlatform() throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user