Introduce a compiler X-flag to use the builder inference by default for all calls
^KT-48622 Fixed
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
fun <K, V> buildMap(builderAction: MutableMap<K, V>.() -> Unit): Map<K, V> = mapOf()
|
||||
|
||||
fun box(): String {
|
||||
val x = buildMap {
|
||||
put("", "")
|
||||
}
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user