Skip to content

Commit

Permalink
Remove InternalCoroutinesApi from overridden releaseInterceptedContin…
Browse files Browse the repository at this point in the history
…uation. (Kotlin#2773)

Otherwise compilation fails on 1.5.30 due to KT-45844
  • Loading branch information
qwwdfsad authored and pablobaxter committed Sep 14, 2022
1 parent 1a61aca commit 44f8e20
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion kotlinx-coroutines-core/common/src/CoroutineDispatcher.kt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ public abstract class CoroutineDispatcher :
public final override fun <T> interceptContinuation(continuation: Continuation<T>): Continuation<T> =
DispatchedContinuation(this, continuation)

@InternalCoroutinesApi
public override fun releaseInterceptedContinuation(continuation: Continuation<*>) {
/*
* Unconditional cast is safe here: we only return DispatchedContinuation from `interceptContinuation`,
Expand Down

0 comments on commit 44f8e20

Please sign in to comment.