Add braces to 'if' statement: save/restore comments correctly

So #KT-16332 Fixed
This commit is contained in:
Toshiaki Kameyama
2018-02-15 14:50:10 +03:00
committed by Mikhail Glukhikh
parent b436ee6e19
commit 4726b44371
17 changed files with 178 additions and 5 deletions
@@ -0,0 +1,5 @@
fun foo() {}
fun test(b: Boolean) {
<caret>while (b) /* aaa */ foo() // bbb
}