Wrap captured local delegated property into Delegate

#KT-16864 Fixed
This commit is contained in:
Mikhael Bogdanov
2017-05-18 16:20:47 +02:00
parent fec8f4a48b
commit 47fec6c9d5
9 changed files with 73 additions and 1 deletions
@@ -7645,6 +7645,12 @@ public class JsCodegenBoxTestGenerated extends AbstractJsCodegenBoxTest {
doTest(fileName);
}
@TestMetadata("kt16864.kt")
public void testKt16864() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/local/kt16864.kt");
doTest(fileName);
}
@TestMetadata("localVal.kt")
public void testLocalVal() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/delegatedProperty/local/localVal.kt");