JS: fix translation of for statement when either next or hasNext method translates to multiple statements. Fix KT-15367

This commit is contained in:
Alexey Andreev
2016-12-21 17:22:43 +03:00
parent cef32b3327
commit 1ab78dffe5
3 changed files with 32 additions and 9 deletions
@@ -1,6 +1,5 @@
// WITH_RUNTIME
// WITH_COROUTINES
// TARGET_BACKEND: JVM
import kotlin.coroutines.*
interface AsyncGenerator<in T> {