Sign in
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
cae7f90b594750d624e94b3325571f4b5ebff2f0
/
.
/
compiler
/
testData
/
ir
/
irText
/
regressions
/
coercionInLoop.kt
blob: fa0e0c006f825e143a29089163ccb7ccccf51805 [
file
] [
log
] [
blame
]
fun box
():
String
{
val a
=
DoubleArray
(
5
)
val x
=
a
.
iterator
()
var
i
=
0
while
(
x
.
hasNext
())
{
if
(
a
[
i
]
!=
x
.
next
())
return
"Fail $i"
i
++
}
return
"OK"
}