Fix "Add braces to if" when semicolon is used instead of a new line
So #KT-23123 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
369dbd604b
commit
8082a5daf7
+5
@@ -0,0 +1,5 @@
|
||||
fun <T> doSomething(a: T) {}
|
||||
|
||||
fun foo() {
|
||||
<caret>if (true) doSomething("test"); doSomething("")
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
fun <T> doSomething(a: T) {}
|
||||
|
||||
fun foo() {
|
||||
if (true) {
|
||||
doSomething("test")
|
||||
}
|
||||
doSomething("")
|
||||
}
|
||||
Reference in New Issue
Block a user