Files
kotlin-fork/compiler/testData/ir/irText/js/dynamic/dynamicArrayAugmentedAssignment.kt
T
Sergej Jaskiewicz 7abc6af124 [FIR, IR] Fix name mangling for dynamic types
^KT-57566 Fixed
2023-05-25 10:23:33 +00:00

10 lines
196 B
Kotlin
Vendored

// TARGET_BACKEND: JS_IR
// FIR_IDENTICAL
fun testArrayAugmentedAssignment(d: dynamic) {
d["KEY"] += "+="
d["KEY"] -= "-="
d["KEY"] *= "*="
d["KEY"] /= "/="
d["KEY"] %= "%="
}