Check variables, captured by outer object when searching for suspend crossinline parameters

This commit is contained in:
Ilmir Usmanov
2019-04-17 19:33:33 +03:00
parent 7c14f4c6ae
commit a793055ec2
14 changed files with 387 additions and 27 deletions
@@ -7426,6 +7426,16 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
public void testReturnObject_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/returnObject.kt", "kotlin.coroutines");
}
@TestMetadata("severalCaptures.kt")
public void testSeveralCaptures_1_2() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/severalCaptures.kt", "kotlin.coroutines.experimental");
}
@TestMetadata("severalCaptures.kt")
public void testSeveralCaptures_1_3() throws Exception {
runTestWithPackageReplacement("compiler/testData/codegen/box/coroutines/javaInterop/severalCaptures.kt", "kotlin.coroutines");
}
}
@TestMetadata("compiler/testData/codegen/box/coroutines/localFunctions")