Files
kotlin-fork/js/js.translator/testData/box/inlineEvaluationOrder/methodDecomposedWithBind.kt
T
2018-07-12 14:18:34 +03:00

10 lines
221 B
Kotlin
Vendored

// IGNORE_BACKEND: JS_IR
// EXPECTED_REACHABLE_NODES: 1525
package foo
fun box(): String {
val v = mapOf(1 to "1", 2 to "2").mapValues { it.value.map { it.toString() } }
assertEquals(2, v.size)
return "OK"
}