Sign in
android
/
platform
/
external
/
jetbrains
/
kotlin
/
v1.3.20-eap-25
/
.
/
idea
/
testData
/
inspectionsLocal
/
coroutines
/
suspendFunctionOnCoroutineScope
/
contextWithLabeledThis.kt
blob: 46d01e74ce28d0aeed88469bfcd540fd5b464b6a [
file
] [
log
] [
blame
]
// FIX: Wrap call with 'coroutineScope { ... }'
import
kotlinx
.
coroutines
.
CoroutineScope
import
kotlinx
.
coroutines
.
CoroutineContext
fun
use
(
context
:
CoroutineContext
)
{}
suspend fun
CoroutineScope
.
foo
()
{
use
(
this
@foo
.<
caret
>
coroutineContext
)
}