Files
kotlin-fork/idea/testData/intentions/branched/ifWhen/ifToWhen/withLoopDeepAndComments.kt.after
T
2019-08-01 16:05:06 +03:00

35 lines
898 B
Plaintext
Vendored

fun test() {
// Comment 1
loop@ while (true) {
// Comment 2
loop1@ for (i in -10..10) {
// Comment 3
if (i < 0) {
// Comment 4
if (i < -5) {
break
} else {
// Comment 5
continue@loop
}
} else {
// Comment 6
when {
i == 0 -> {
i.hashCode()
// Comment 7
break@loop1
}
i > 5 -> {
// Comment 8
i.hashCode()
}
else -> {
// Comment 9
continue@loop1
}
}
}
}
}
}