Sign in
◑
Theme
pigweed
/
third_party
/
github
/
JetBrains
/
kotlin
/
HEAD
/
.
/
compiler
/
testData
/
codegen
/
bytecodeText
/
mergedProgression.kt
blob: 206cbf86e84a8e857f9a25e2ef7ff270c2848ac3 [
file
]
// TARGET_BACKEND: JVM
fun test
(
a
:
Int
,
b
:
Int
,
flag
:
Boolean
)
=
(
if
(
flag
)
a
..
b
else
a downTo b
).
map
{
it
+
1
}
// 0 java/util/Iterator.next \(\)Ljava/lang/Object;
// 1 kotlin/collections/IntIterator.nextInt \(\)I