File tree 2 files changed +3
-2
lines changed
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>(
36
36
internal class ContextScope (context : CoroutineContext ) : CoroutineScope {
37
37
override val coroutineContext: CoroutineContext = context
38
38
// CoroutineScope is used intentionally for user-friendly representation
39
- override fun toString (): String = " CoroutineScope(coroutineContext = $coroutineContext )"
39
+ override fun toString (): String = " CoroutineScope(coroutineContext= $coroutineContext )"
40
40
}
Original file line number Diff line number Diff line change @@ -89,7 +89,8 @@ private class MissingMainCoroutineDispatcher(
89
89
if (cause == null ) {
90
90
throw IllegalStateException (
91
91
" 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'"
93
94
)
94
95
} else {
95
96
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