6ba2baa9da
if they have suspend function type in their descriptors. Also, review fixes. #KT-25256: Fixed
13 lines
173 B
Kotlin
Vendored
13 lines
173 B
Kotlin
Vendored
suspend fun dummy() {}
|
|
|
|
val c: suspend () -> Unit = {}
|
|
|
|
fun builder(c: suspend () -> Unit) {}
|
|
|
|
val d = suspend {}
|
|
|
|
suspend fun check() {
|
|
dummy()
|
|
c()
|
|
builder {}
|
|
} |