12 lines
271 B
Kotlin
Vendored
12 lines
271 B
Kotlin
Vendored
// WITH_RUNTIME
|
|
// IGNORE_BACKEND_FIR: JVM_IR
|
|
// !LANGUAGE: +UseBuilderInferenceWithoutAnnotation
|
|
|
|
fun <K, V> buildMap(builderAction: MutableMap<K, V>.() -> Unit): Map<K, V> = mapOf()
|
|
|
|
fun box(): String {
|
|
val x = buildMap {
|
|
put("", "")
|
|
}
|
|
return "OK"
|
|
} |