Files
kotlin-fork/idea/testData/formatter/IfRParen.kt
T
2018-01-09 13:54:56 +01:00

14 lines
232 B
Kotlin
Vendored

fun x() {
if (foo.length > 0 &&
barLen > 0) {
println("> 0")
}
if (foo.length > 0) {
println("> 0")
}
}
// SET_TRUE: IF_RPAREN_ON_NEW_LINE
// SET_FALSE: CONTINUATION_INDENT_IN_IF_CONDITIONS