Fix nullable variables spilling in coroutines

See the last comment in testData for clarification

 #KT-18983 Fixed
This commit is contained in:
Denis Zharkov
2017-07-19 15:04:51 +03:00
parent 90e894b171
commit 904c7f9c64
6 changed files with 163 additions and 0 deletions
@@ -4982,6 +4982,12 @@ public class BlackBoxCodegenTestGenerated extends AbstractBlackBoxCodegenTest {
doTest(fileName);
}
@TestMetadata("asyncIteratorNullMerge.kt")
public void testAsyncIteratorNullMerge() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/asyncIteratorNullMerge.kt");
doTest(fileName);
}
@TestMetadata("asyncIteratorToList.kt")
public void testAsyncIteratorToList() throws Exception {
String fileName = KotlinTestUtils.navigationMetadata("compiler/testData/codegen/box/coroutines/asyncIteratorToList.kt");