Sign in
android
/
platform
/
external
/
jetbrains
/
kotlin
/
v1.3.20-eap-25
/
.
/
idea
/
testData
/
inspectionsLocal
/
coroutines
/
suspendFunctionOnCoroutineScope
/
convertReceiver.kt.after
blob: fe239b6e549f0cbce581ca283cc0f24a8a47de39 [
file
] [
log
] [
blame
]
// FIX: Convert receiver to parameter
import
kotlinx
.
coroutines
.
CoroutineScope
import
kotlinx
.
coroutines
.
async
fun calcSomething
()
=
42
suspend fun foo
(
coroutineScope
:
CoroutineScope
)
=
coroutineScope
.
async
{
calcSomething
()
}