Files
kotlin-fork/compiler/testData/ir/irText/js/dynamic/dynamicElvisOperator.kt.txt
T
Sergej Jaskiewicz 17a8fd2c0b [test] Move irJsText tests to irText directory
So that all irText tests could be found in one place
2023-03-22 15:18:15 +00:00

11 lines
199 B
Kotlin
Vendored

fun test(d: dynamic): dynamic {
return { // BLOCK
val tmp0_elvis_lhs: dynamic = d
when {
EQEQ(arg0 = tmp0_elvis_lhs, arg1 = null) -> "other"
else -> tmp0_elvis_lhs
}
}
}