JVM IR: Fix inline class mangling for calls to internal functions

...in a different module, e.g., using -Xfriend-paths.
This commit is contained in:
Steven Schäfer
2021-01-28 14:20:21 +01:00
committed by Ilmir Usmanov
parent 6747084fe2
commit 482e217b5e
8 changed files with 48 additions and 3 deletions
@@ -244,6 +244,11 @@ public class CompileKotlinAgainstKotlinTestGenerated extends AbstractCompileKotl
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt");
}
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithInlineClass.kt");
}
@TestMetadata("internalWithOtherModuleName.kt")
public void testInternalWithOtherModuleName() throws Exception {
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithOtherModuleName.kt");
@@ -245,6 +245,11 @@ public class IrCompileKotlinAgainstKotlinTestGenerated extends AbstractIrCompile
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt");
}
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithInlineClass.kt");
}
@TestMetadata("internalWithOtherModuleName.kt")
public void testInternalWithOtherModuleName() throws Exception {
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithOtherModuleName.kt");
@@ -245,6 +245,11 @@ public class JvmIrAgainstOldBoxTestGenerated extends AbstractJvmIrAgainstOldBoxT
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt");
}
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithInlineClass.kt");
}
@TestMetadata("internalWithOtherModuleName.kt")
public void testInternalWithOtherModuleName() throws Exception {
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithOtherModuleName.kt");
@@ -245,6 +245,11 @@ public class JvmOldAgainstIrBoxTestGenerated extends AbstractJvmOldAgainstIrBoxT
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithDefaultArgs.kt");
}
@TestMetadata("internalWithInlineClass.kt")
public void testInternalWithInlineClass() throws Exception {
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithInlineClass.kt");
}
@TestMetadata("internalWithOtherModuleName.kt")
public void testInternalWithOtherModuleName() throws Exception {
runTest("compiler/testData/compileKotlinAgainstKotlin/internalWithOtherModuleName.kt");