Closures in scripts have outer expression

#KT-22029 Fixed Target versions 1.2.30
This commit is contained in:
Dmitry Petrov
2018-01-09 12:38:25 +03:00
parent d25ebadf53
commit 5ffd6a737e
3 changed files with 19 additions and 1 deletions
@@ -73,6 +73,12 @@ public class ScriptCodegenTestGenerated extends AbstractScriptCodegenTest {
doTest(fileName);
}
@TestMetadata("kt22029.kts")
public void testKt22029() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/script/kt22029.kts");
doTest(fileName);
}
@TestMetadata("localDelegatedProperty.kts")
public void testLocalDelegatedProperty() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/script/localDelegatedProperty.kts");