Sign in
android
/
platform
/
external
/
jetbrains
/
kotlin
/
v1.3.20-eap-25
/
.
/
idea
/
testData
/
inspectionsLocal
/
coroutines
/
suspendFunctionOnCoroutineScope
/
call.kt
blob: e3e853a96c3185ad61efdea557e5f5db6d897dde [
file
] [
log
] [
blame
]
// FIX: Wrap call with 'coroutineScope { ... }'
import
kotlinx
.
coroutines
.
CoroutineScope
import
kotlinx
.
coroutines
.
async
fun calcSomething
()
{}
suspend fun
CoroutineScope
.
foo
()
{
async
{
calcSomething
()
}
<caret>
async
{
calcSomething
()
}
}