JVM_IR: refine the condition for mangling names of multifile members

Private $$forInline versions of public suspend functions should not
be mangled. (Note that there are no $$forInline versions of private
suspend functions, as those are effectively inline-only.)
This commit is contained in:
pyos
2020-03-06 10:35:35 +01:00
committed by Ilmir Usmanov
parent 8fbfa8b819
commit 8487211ae1
6 changed files with 56 additions and 2 deletions
@@ -3718,6 +3718,11 @@ public class BlackBoxInlineCodegenTestGenerated extends AbstractBlackBoxInlineCo
runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendContinuation.kt", "kotlin.coroutines");
}
@TestMetadata("inlineSuspendInMultifileClass.kt")
public void testInlineSuspendInMultifileClass() throws Exception {
runTest("compiler/testData/codegen/boxInline/suspend/inlineSuspendInMultifileClass.kt");
}
@TestMetadata("inlineSuspendOfCrossinlineOrdinary.kt")
public void testInlineSuspendOfCrossinlineOrdinary_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/boxInline/suspend/inlineSuspendOfCrossinlineOrdinary.kt", "kotlin.coroutines.experimental");