17 lines
337 B
Kotlin
Vendored
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)
|
|
}
|