Add braces to 'if' statement: save/restore comments correctly
So #KT-16332 Fixed
This commit is contained in:
committed by
Mikhail Glukhikh
parent
b436ee6e19
commit
4726b44371
@@ -0,0 +1,9 @@
|
||||
fun foo() {}
|
||||
|
||||
fun test(a: Int) {
|
||||
when (a) {
|
||||
1 -> {
|
||||
/* aaa */ foo() // bbb
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user