Global rename in test data for coroutines
(cherry picked from commit 132f97b)
Original commit: b527a4d158
This commit is contained in:
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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user