JVM_IR: fix synthetic accessor generation (again)

Turns out private inline functions *can* be called from other classes.
This commit is contained in:
pyos
2019-10-16 10:43:24 +02:00
committed by max-kammerer
parent 89180e2650
commit 27094d0371
7 changed files with 37 additions and 3 deletions
@@ -19052,6 +19052,11 @@ public class IrJsCodegenBoxTestGenerated extends AbstractIrJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/syntheticAccessors/inline.kt");
}
@TestMetadata("inlineInOtherClass.kt")
public void testInlineInOtherClass() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/inlineInOtherClass.kt");
}
@TestMetadata("kt10047.kt")
public void testKt10047() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/kt10047.kt");
@@ -20207,6 +20207,11 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
runTest("compiler/testData/codegen/box/syntheticAccessors/inline.kt");
}
@TestMetadata("inlineInOtherClass.kt")
public void testInlineInOtherClass() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/inlineInOtherClass.kt");
}
@TestMetadata("kt10047.kt")
public void testKt10047() throws Exception {
runTest("compiler/testData/codegen/box/syntheticAccessors/kt10047.kt");