blob: 05fc051f9e35d3aa1df97e42f0b1b0c3b4c51e54 [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 { coroutineContext })
}