[FIR2IR] Fix conversion of loops with withIndex
This commit is contained in:
committed by
TeamCityServer
parent
a2ec99e38c
commit
b4fada82ae
@@ -36,6 +36,8 @@ fun test3(ss: List<String>?) {
|
||||
}.iterator()
|
||||
L2@ while (<iterator>.hasNext()) { // BLOCK
|
||||
val s: String = <iterator>.next()
|
||||
{ // BLOCK
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -53,6 +55,8 @@ fun test4(ss: List<String>?) {
|
||||
}.iterator()
|
||||
L2@ while (<iterator>.hasNext()) { // BLOCK
|
||||
val s: String = <iterator>.next()
|
||||
{ // BLOCK
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -78,3 +82,4 @@ fun test5() {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user