blob: 2fbb8cbe7fe632108416296d6e0b469703211450 [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()
}
}
}
suspend fun test() {
foo()
}