Properly capture extension receiver for array convention expressions in object constructor

#KT-19389 Fixed
This commit is contained in:
Mikhael Bogdanov
2019-02-05 11:37:23 +01:00
parent 3943bd1b15
commit 9ab6062295
12 changed files with 155 additions and 0 deletions
@@ -3736,6 +3736,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
runTest("compiler/testData/codegen/box/closures/kt11634_4.kt");
}
@TestMetadata("kt19389.kt")
public void testKt19389() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt19389.kt");
}
@TestMetadata("kt19389_set.kt")
public void testKt19389_set() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt19389_set.kt");
}
@TestMetadata("kt2151.kt")
public void testKt2151() throws Exception {
runTest("compiler/testData/codegen/box/closures/kt2151.kt");