Files
2023-12-05 18:15:50 +00:00

17 lines
337 B
Kotlin
Vendored

// ISSUE: KT-47982
fun test() {
<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER!>build<!> {
<!NEW_INFERENCE_NO_INFORMATION_FOR_PARAMETER, UNSUPPORTED!>[<!UNSUPPORTED!>[]<!>]<!>
}
}
class Buildee<TV>
fun <PTV> build(instructions: Buildee<PTV>.() -> Unit): Buildee<PTV> {
return Buildee<PTV>().apply(instructions)
}