Files
kotlin-fork/idea/testData/quickfix/obsoleteCoroutines/inProjectFix.kt
T
2018-09-29 16:27:45 +03:00

16 lines
347 B
Kotlin
Vendored

// "Fix experimental coroutines usages in the project" "true"
// WITH_RUNTIME
package migrate
import kotlin.coroutines.experimental.buildIterator
import kotlin.coroutines.experimental.buildSequence
fun main(args: Array<String>) {
val one = <caret>buildSequence {
yield(1)
}
val two = buildIterator {
yield(1)
}
}