File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -36,5 +36,5 @@ internal open class ScopeCoroutine<in T>(
3636internal class ContextScope (context : CoroutineContext ) : CoroutineScope {
3737 override val coroutineContext: CoroutineContext = context
3838 // CoroutineScope is used intentionally for user-friendly representation
39- override fun toString (): String = " CoroutineScope(coroutineContext = $coroutineContext )"
39+ override fun toString (): String = " CoroutineScope(coroutineContext= $coroutineContext )"
4040}
Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ private class MissingMainCoroutineDispatcher(
8989 if (cause == null ) {
9090 throw IllegalStateException (
9191 " Module with the Main dispatcher is missing. " +
92- " Add dependency providing the Main dispatcher, e.g. 'kotlinx-coroutines-android'"
92+ " Add dependency providing the Main dispatcher, e.g. 'kotlinx-coroutines-android' " +
93+ " and ensure it has the same version as 'kotlinx-coroutines-core'"
9394 )
9495 } else {
9596 val message = " Module with the Main dispatcher had failed to initialize" + (errorHint?.let { " . $it " } ? : " " )
You can’t perform that action at this time.
0 commit comments