blob: 72f9d9105d2dbf2acd7d7f5ae0c15388d36f92d4 [file]
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: IGNORED_IN_JS
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
package w_range
fun box() : String {
var i = 0
when (i) {
1 -> i--
else -> { i = 2 }
}
System.out?.println(i)
return "OK"
}