JVM_IR: add local delegated property metadata to non-synthetic classes
Otherwise kotlin-reflect won't find it (and it won't even be serialized anyway). #KT-42562 Fixed
This commit is contained in:
+10
@@ -27390,6 +27390,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
@TestDataPath("$PROJECT_ROOT")
|
||||
@RunWith(JUnit3RunnerWithInners.class)
|
||||
public static class LocalDelegated extends AbstractLightAnalysisModeTest {
|
||||
@TestMetadata("inLambdaInInline.kt")
|
||||
public void ignoreInLambdaInInline() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/inLambdaInInline.kt");
|
||||
}
|
||||
|
||||
private void runTest(String testDataFilePath) throws Exception {
|
||||
KotlinTestUtils.runTest(this::doTest, TargetBackend.JVM, testDataFilePath);
|
||||
}
|
||||
@@ -27403,6 +27408,11 @@ public class LightAnalysisModeTestGenerated extends AbstractLightAnalysisModeTes
|
||||
runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/defaultImpls.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inLambda.kt")
|
||||
public void testInLambda() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/inLambda.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("inlineFun.kt")
|
||||
public void testInlineFun() throws Exception {
|
||||
runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/inlineFun.kt");
|
||||
|
||||
Reference in New Issue
Block a user