Check correct element to determine if 'if' rbrace needs wrapping
#KT-22093 Fixed
This commit is contained in:
+4
@@ -4,6 +4,10 @@ fun x() {
|
||||
) {
|
||||
println("> 0")
|
||||
}
|
||||
|
||||
if (foo.length > 0) {
|
||||
println("> 0")
|
||||
}
|
||||
}
|
||||
|
||||
// SET_TRUE: IF_RPAREN_ON_NEW_LINE
|
||||
|
||||
Vendored
+4
@@ -3,6 +3,10 @@ fun x() {
|
||||
barLen > 0) {
|
||||
println("> 0")
|
||||
}
|
||||
|
||||
if (foo.length > 0) {
|
||||
println("> 0")
|
||||
}
|
||||
}
|
||||
|
||||
// SET_TRUE: IF_RPAREN_ON_NEW_LINE
|
||||
|
||||
Reference in New Issue
Block a user