Files
kotlin-fork/compiler/testData/ir/irText/firProblems/LocalSuspendFun.kt
T

14 lines
199 B
Kotlin
Vendored

// ISSUE: KT-58332
fun foo() {
val addNewStatusAction: suspend () -> Unit = useMemo {
suspend fun() {
}
}
}
fun <T> useMemo(callback: () -> T): T {
return callback()
}