Introduce separate compiler flag for unrestricted builder inference

This commit is contained in:
Victor Petukhov
2021-07-12 12:11:30 +03:00
parent 274dabb61d
commit 33a281c637
7 changed files with 37 additions and 0 deletions
@@ -0,0 +1,6 @@
@OptIn(ExperimentalStdlibApi::class)
fun main() {
val x = buildMap {
val y = put(1, "")
}
}