7e4d9d9f64
Many of them have been found & minimized at FP tests/user projects ^KT-59791 Fixed
15 lines
224 B
Kotlin
Vendored
15 lines
224 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
|
|
interface Controller<F> {
|
|
fun yield(t: F)
|
|
}
|
|
|
|
fun <S> generate(g: suspend Controller<S>.() -> Unit): S = TODO()
|
|
|
|
fun foo(
|
|
prop: Controller<String>.() -> Unit
|
|
) {
|
|
generate {
|
|
prop()
|
|
}
|
|
} |