blob: 9bb7a24a25ac896c62b87d3f381475b12a0b4f6d [file] [log] [blame]
// FIX: Wrap call with 'coroutineScope { ... }'
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.CoroutineContext
import kotlinx.coroutines.coroutineScope
fun use(context: CoroutineContext) {}
suspend fun CoroutineScope.foo() {
use(coroutineScope { this.coroutineContext })
}