blob: 9c8634feeb32edce0d36f9e96b1038d0defa09c1 [file] [log] [blame]
// FIX: Remove receiver & wrap with 'coroutineScope { ... }'
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.async
fun calcSomething() = 42
suspend fun <caret>CoroutineScope.foo() {
val deferred = async {
calcSomething()
}
}