JVM_IR KT-47492 fix 'for' loop generation
This commit is contained in:
committed by
TeamCityServer
parent
6993b86d3b
commit
768afc5ba4
+11
@@ -0,0 +1,11 @@
|
||||
// DONT_TARGET_EXACT_BACKEND: WASM
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun p() {}
|
||||
|
||||
fun box(): String {
|
||||
var sum = 1
|
||||
for (i: Int? in sum downTo sum.toULong().countTrailingZeroBits())
|
||||
p()
|
||||
return "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user