Skip to content

Commit a6c6cac

Browse files
committed
Decrease to private
1 parent 77baf03 commit a6c6cac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: kotlinx-coroutines-core/common/src/CoroutineContext.common.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ internal inline fun <T> withContinuationContext(continuation: Continuation<*>, c
5959
}
6060
}
6161

62-
internal fun Continuation<*>.updateUndispatchedCompletion(context: CoroutineContext, oldValue: Any?): UndispatchedCoroutine<*>? {
62+
private fun Continuation<*>.updateUndispatchedCompletion(context: CoroutineContext, oldValue: Any?): UndispatchedCoroutine<*>? {
6363
if (this !is CoroutineStackFrame) return null
6464
/*
6565
* Fast-path to detect whether we have undispatched coroutine at all in our stack.
@@ -80,7 +80,7 @@ internal fun Continuation<*>.updateUndispatchedCompletion(context: CoroutineCont
8080
return completion
8181
}
8282

83-
internal tailrec fun CoroutineStackFrame.undispatchedCompletion(): UndispatchedCoroutine<*>? {
83+
private tailrec fun CoroutineStackFrame.undispatchedCompletion(): UndispatchedCoroutine<*>? {
8484
// Find direct completion of this continuation
8585
val completion: CoroutineStackFrame = when (this) {
8686
is DispatchedCoroutine<*> -> return null

0 commit comments

Comments
 (0)