Files
kotlin-fork/js/js.translator/testData/box/inlineEvaluationOrder/methodDecomposedWithBind.kt
T

10 lines
221 B
Kotlin
Vendored

// KJS_WITH_FULL_RUNTIME
// 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"
}