JVM_IR: generate accessors for inherited abstract members too

#KT-41468 Fixed
This commit is contained in:
pyos
2020-10-07 10:45:12 +02:00
committed by Alexander Udalov
parent 68157f09fa
commit dd1682510f
9 changed files with 53 additions and 1 deletions
@@ -24872,6 +24872,11 @@ public class IrJsCodegenBoxES6TestGenerated extends AbstractIrJsCodegenBoxES6Tes
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS_IR_ES6, testDataFilePath);
}
@TestMetadata("accessorForAbstractProtected.kt")
public void testAccessorForAbstractProtected() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForAbstractProtected.kt");
}
@TestMetadata("accessorForGenericConstructor.kt")
public void testAccessorForGenericConstructor() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForGenericConstructor.kt");
@@ -24872,6 +24872,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS_IR, testDataFilePath);
}
@TestMetadata("accessorForAbstractProtected.kt")
public void testAccessorForAbstractProtected() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForAbstractProtected.kt");
}
@TestMetadata("accessorForGenericConstructor.kt")
public void testAccessorForGenericConstructor() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForGenericConstructor.kt");
@@ -24887,6 +24887,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
KotlinTestUtils.runTest0(this::doTest, TargetBackend.JS, testDataFilePath);
}
@TestMetadata("accessorForAbstractProtected.kt")
public void testAccessorForAbstractProtected() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForAbstractProtected.kt");
}
@TestMetadata("accessorForGenericConstructor.kt")
public void testAccessorForGenericConstructor() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/accessorForGenericConstructor.kt");