JS: fix translation of delegated local variables in coroutines. See KT-15834

This commit is contained in:
Alexey Andreev
2017-01-23 15:20:11 +03:00
parent 8040d781b4
commit 26a3ac5a9b
7 changed files with 94 additions and 0 deletions
@@ -4769,6 +4769,12 @@ public class LightAnalysisModeCodegenTestGenerated extends AbstractLightAnalysis
doTest(fileName);
}
@TestMetadata("localDelegate.kt")
public void testLocalDelegate() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/localDelegate.kt");
doTest(fileName);
}
@TestMetadata("multipleInvokeCalls.kt")
public void testMultipleInvokeCalls() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/multipleInvokeCalls.kt");