Sign in
android
/
platform
/
external
/
jetbrains
/
kotlin
/
v1.3.20-eap-25
/
.
/
idea
/
testData
/
inspectionsLocal
/
coroutines
/
suspendFunctionOnCoroutineScope
/
simple.kt.after
blob: be7f36297d93606b7f854ee1e6bbb28e8ce257f5 [
file
] [
log
] [
blame
]
// FIX: Remove receiver & wrap with 'coroutineScope { ... }'
import
kotlinx
.
coroutines
.
async
import
kotlinx
.
coroutines
.
coroutineScope
fun calcSomething
()
{}
suspend fun foo
()
{
coroutineScope
{
async
{
calcSomething
()
}
}
}