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:
pyos
2020-10-09 09:37:35 +02:00
committed by Alexander Udalov
parent 2974004de4
commit 1663619606
7 changed files with 103 additions and 20 deletions
@@ -29769,6 +29769,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
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("inLambdaInInline.kt")
public void testInLambdaInInline() throws Exception {
runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/inLambdaInInline.kt");
}
@TestMetadata("inlineFun.kt")
public void testInlineFun() throws Exception {
runTest("compiler/testData/codegen/box/reflection/properties/localDelegated/inlineFun.kt");