blob: e5ecb019e0a5aa13db3b8982cfa24d06f970d1e9 [file] [log] [blame]
// FIX: Remove receiver & wrap with 'coroutineScope { ... }'
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.async
fun calcSomething() {}
suspend fun <caret>CoroutineScope.foo() {
async {
calcSomething()
}
}
suspend fun test() {
GlobalScope.foo()
}