Skip to content

Commit

Permalink
Add missing operator modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisCAD authored and elizarov committed Mar 1, 2019
1 parent 847e68e commit 96e6577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kotlinx-coroutines-core/common/src/Builders.common.kt
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public suspend fun <T> withContext(
* This inline function calls [withContext].
*/
@ExperimentalCoroutinesApi
public suspend inline fun <T> CoroutineDispatcher.invoke(
public suspend inline operator fun <T> CoroutineDispatcher.invoke(
noinline block: suspend CoroutineScope.() -> T
): T = withContext(this, block)

Expand Down

0 comments on commit 96e6577

Please sign in to comment.