A proper modality calculation was missing in IR fake override construction algorithm

#KT-41765 Fixed
This commit is contained in:
Alexander Gorshenev
2020-09-10 20:56:01 +03:00
parent 2886f48795
commit 744f290fc4
10 changed files with 99 additions and 18 deletions
@@ -13355,6 +13355,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
runTest("compiler/testData/codegen/box/ir/kt40083.kt");
}
@TestMetadata("kt41765.kt")
public void testKt41765() throws Exception {
runTest("compiler/testData/codegen/box/ir/kt41765.kt");
}
@TestMetadata("objectClass.kt")
public void testObjectClass() throws Exception {
runTest("compiler/testData/codegen/box/ir/objectClass.kt");
@@ -13355,6 +13355,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ir/kt40083.kt");
}
@TestMetadata("kt41765.kt")
public void testKt41765() throws Exception {
runTest("compiler/testData/codegen/box/ir/kt41765.kt");
}
@TestMetadata("objectClass.kt")
public void testObjectClass() throws Exception {
runTest("compiler/testData/codegen/box/ir/objectClass.kt");
@@ -13420,6 +13420,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/ir/kt40083.kt");
}
@TestMetadata("kt41765.kt")
public void testKt41765() throws Exception {
runTest("compiler/testData/codegen/box/ir/kt41765.kt");
}
@TestMetadata("objectClass.kt")
public void testObjectClass() throws Exception {
runTest("compiler/testData/codegen/box/ir/objectClass.kt");