Rename SUSPENDED_MARKER to COROUTINE_SUSPENDED

This commit is contained in:
Denis Zharkov
2017-01-27 17:29:36 +03:00
parent 246946bc18
commit c362a9154b
123 changed files with 169 additions and 169 deletions
@@ -7,7 +7,7 @@ class Controller {
suspend fun noParams(): Unit = suspendCoroutineOrReturn {
if (hashCode() % 2 == 0) {
it.resume(Unit)
SUSPENDED_MARKER
COROUTINE_SUSPENDED
}
else {
Unit
@@ -4,5 +4,5 @@ import kotlin.coroutines.experimental.intrinsics.*
suspend fun suspendLogAndThrow(exception: Throwable): Nothing = suspendCoroutineOrReturn { c ->
c.resumeWithException(exception)
SUSPENDED_MARKER
COROUTINE_SUSPENDED
}