[IR] Fix compiler bugs with MFVC to let KorGE run

Signed-off-by: Evgeniy.Zhelenskiy <Evgeniy.Zhelenskiy@jetbrains.com>

#KT-1179
This commit is contained in:
Evgeniy.Zhelenskiy
2023-02-14 05:49:12 +01:00
committed by Space Team
parent 9b3fc34f78
commit 3b5ad0681f
40 changed files with 1432 additions and 665 deletions
@@ -51731,6 +51731,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
runTest("compiler/testData/codegen/box/valueClasses/equality.kt");
}
@Test
@TestMetadata("fakeOverrideCall.kt")
public void testFakeOverrideCall() throws Exception {
runTest("compiler/testData/codegen/box/valueClasses/fakeOverrideCall.kt");
}
@Test
@TestMetadata("forStatement.kt")
public void testForStatement() throws Exception {
@@ -51797,6 +51803,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
runTest("compiler/testData/codegen/box/valueClasses/mfvcUntypedEqualsOverriden.kt");
}
@Test
@TestMetadata("multiModules.kt")
public void testMultiModules() throws Exception {
runTest("compiler/testData/codegen/box/valueClasses/multiModules.kt");
}
@Test
@TestMetadata("mutableSharedMfvcVar.kt")
public void testMutableSharedMfvcVar() throws Exception {
@@ -51821,6 +51833,12 @@ public class FirLightTreeBlackBoxCodegenTestGenerated extends AbstractFirLightTr
runTest("compiler/testData/codegen/box/valueClasses/overrides_typeParameters.kt");
}
@Test
@TestMetadata("regularClassSecondaryConstructorWithMfvc.kt")
public void testRegularClassSecondaryConstructorWithMfvc() throws Exception {
runTest("compiler/testData/codegen/box/valueClasses/regularClassSecondaryConstructorWithMfvc.kt");
}
@Test
@TestMetadata("secondaryConstructorsWithBody.kt")
public void testSecondaryConstructorsWithBody() throws Exception {
@@ -51731,6 +51731,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
runTest("compiler/testData/codegen/box/valueClasses/equality.kt");
}
@Test
@TestMetadata("fakeOverrideCall.kt")
public void testFakeOverrideCall() throws Exception {
runTest("compiler/testData/codegen/box/valueClasses/fakeOverrideCall.kt");
}
@Test
@TestMetadata("forStatement.kt")
public void testForStatement() throws Exception {
@@ -51797,6 +51803,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
runTest("compiler/testData/codegen/box/valueClasses/mfvcUntypedEqualsOverriden.kt");
}
@Test
@TestMetadata("multiModules.kt")
public void testMultiModules() throws Exception {
runTest("compiler/testData/codegen/box/valueClasses/multiModules.kt");
}
@Test
@TestMetadata("mutableSharedMfvcVar.kt")
public void testMutableSharedMfvcVar() throws Exception {
@@ -51821,6 +51833,12 @@ public class FirPsiBlackBoxCodegenTestGenerated extends AbstractFirPsiBlackBoxCo
runTest("compiler/testData/codegen/box/valueClasses/overrides_typeParameters.kt");
}
@Test
@TestMetadata("regularClassSecondaryConstructorWithMfvc.kt")
public void testRegularClassSecondaryConstructorWithMfvc() throws Exception {
runTest("compiler/testData/codegen/box/valueClasses/regularClassSecondaryConstructorWithMfvc.kt");
}
@Test
@TestMetadata("secondaryConstructorsWithBody.kt")
public void testSecondaryConstructorsWithBody() throws Exception {