12 lines
171 B
Kotlin
Vendored
12 lines
171 B
Kotlin
Vendored
// WITH_REFLECT
|
|
|
|
import kotlin.reflect.KSuspendFunction0
|
|
|
|
fun foo(pause : suspend () -> Unit) {
|
|
pause()
|
|
}
|
|
|
|
fun bar() {
|
|
foo(x<caret>y as KSuspendFunction0<Unit>)
|
|
}
|