Sign in
android
/
platform
/
external
/
jetbrains
/
kotlin
/
b4101ef2aec389c11c3001084b1a723316b7c014
/
.
/
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
)
}