1e26888dd9
Incorrect `valueParameter` was passed to `generateValueArgument`, which resulted in incorrect type being considered for generating suspend conversion. #KT-50949 Fixed
9 lines
160 B
Kotlin
Vendored
9 lines
160 B
Kotlin
Vendored
// SKIP_KT_DUMP
|
|
// !LANGUAGE: +SuspendConversion
|
|
|
|
fun main() {
|
|
val foo: String.(suspend () -> Unit) -> Unit = {}
|
|
val f: () -> Unit = {}
|
|
"".foo(f)
|
|
}
|