[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
@@ -24464,6 +24464,12 @@ public class FirJsCodegenBoxTestGenerated extends AbstractFirJsCodegenBoxTest {
|
||||
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 {
|
||||
|
||||
Generated
+6
@@ -24464,6 +24464,12 @@ public class FirJsES6CodegenBoxTestGenerated extends AbstractFirJsES6CodegenBoxT
|
||||
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