Files
kotlin-fork/js/js.translator/testData/box/inlineEvaluationOrder/methodDecomposedWithBind.kt
T
Anton Bannykh 8c6337f3f6 [JS IR BE]: support dynamic_var["foo"] = "bar"
Used EQ origin to detect. Added a test to check dynamic_var = "bar" case
is not affected
2018-10-10 13:43:22 +03:00

9 lines
196 B
Kotlin
Vendored

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