Global rename in test data for coroutines

(cherry picked from commit 132f97b)

Original commit: b527a4d158
This commit is contained in:
Stanislav Erokhin
2016-12-15 19:54:03 +03:00
committed by Stanislav Erokhin
parent 343c1c5dee
commit 45c849b8ca
@@ -5,7 +5,7 @@ fun async(coroutine x: Controller.() -> Continuation<Unit>) {
}
class Controller {
suspend fun step(param: Int) = suspendWithCurrentContinuation<Int> { next ->
suspend fun step(param: Int) = CoroutineIntrinsics.suspendCoroutineOrReturn<Int> { next ->
next.resume(param + 1)
}
}