JS: fix coroutine transformation of callable references to local functions. See KT-16164

This commit is contained in:
Alexey Andreev
2017-03-01 18:22:34 +03:00
parent 18fb70b32f
commit 8567db10b5
6 changed files with 93 additions and 5 deletions
@@ -4886,6 +4886,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("localCallableRef.kt")
public void testLocalCallableRef() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/localCallableRef.kt");
doTest(fileName);
}
@TestMetadata("localDelegate.kt")
public void testLocalDelegate() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/localDelegate.kt");