Files
kotlin-fork/idea/testData/formatter/LabeledExpression.after.kt
T
2018-02-09 10:49:01 +01:00

41 lines
331 B
Kotlin
Vendored

fun test1() {
loop@ while (true) {
}
}
fun test2() {
listOf(1).forEach lit@{
if (it == 0) return@lit
print(it)
}
}
fun test3() {
l1@
/*comment*/ {
}
l2@ /*comment*/ {
}
}
fun test4() {
l1@
//eol comment
{
}
l2@ //eol comment
{
}
}