Properly capture local delegated properties in object constructor

#KT-23117 Fixed
This commit is contained in:
Mikhael Bogdanov
2019-02-05 13:45:35 +01:00
parent 9ab6062295
commit b2606735c5
7 changed files with 48 additions and 3 deletions
@@ -9250,6 +9250,11 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/delegatedProperty/local/kt19690.kt");
}
@TestMetadata("kt23117.kt")
public void testKt23117() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/local/kt23117.kt");
}
@TestMetadata("localVal.kt")
public void testLocalVal() throws Exception {
runTest("compiler/testData/codegen/box/delegatedProperty/local/localVal.kt");