Support inline classes in function signatures in call/callBy
#KT-25664 Fixed #KT-26748 Open #KT-26765 Open
This commit is contained in:
+48
@@ -17927,6 +17927,44 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/reflection/call/bound/objectPropertyAccessors.kt");
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/call/inlineClasses")
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class InlineClasses extends AbstractLightAnalysisModeTest {
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
|
||||
public void testAllFilesPresentInInlineClasses() throws Exception {
|
||||
KotlinTestUtils.assertAllTestsPresentByMetadata(this.getClass(), new File("compiler/testData/codegen/box/reflection/call/inlineClasses"), Pattern.compile("^(.+)\\.kt$"), TargetBackend.JVM, true);
|
||||
}
|
||||
|
||||
@TestMetadata("fieldAccessors.kt")
|
||||
public void testFieldAccessors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/fieldAccessors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("functionsAndConstructors.kt")
|
||||
public void testFunctionsAndConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/functionsAndConstructors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmStaticFieldInObject.kt")
|
||||
public void testJvmStaticFieldInObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/jvmStaticFieldInObject.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmStaticFunction.kt")
|
||||
public void testJvmStaticFunction() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/jvmStaticFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("properties.kt")
|
||||
public void testProperties() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/call/inlineClasses/properties.kt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@TestMetadata("compiler/testData/codegen/box/reflection/callBy")
|
||||
@@ -17971,6 +18009,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/extensionFunction.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassFunctionsAndConstructors.kt")
|
||||
public void testInlineClassFunctionsAndConstructors() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/inlineClassFunctionsAndConstructors.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("jvmStaticInCompanionObject.kt")
|
||||
public void testJvmStaticInCompanionObject() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/callBy/jvmStaticInCompanionObject.kt");
|
||||
@@ -18852,6 +18895,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/reflection/mapping/types/genericArrayElementType.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineClassInSignature.kt")
|
||||
public void testInlineClassInSignature() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/mapping/types/inlineClassInSignature.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("innerGenericTypeArgument.kt")
|
||||
public void testInnerGenericTypeArgument() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/mapping/types/innerGenericTypeArgument.kt");
|
||||
|
||||
Reference in New Issue
Block a user