Keep braces in redundant cascade if #KT-19704 Fixed

This commit is contained in:
scache
2017-08-16 20:19:33 +03:00
committed by Mikhail Glukhikh
parent 97e4dbe330
commit ba19931aef
14 changed files with 201 additions and 17 deletions
@@ -0,0 +1,14 @@
fun foo(s: String) {}
fun bar(s: String?) {
if (s == null) {
foo("a")
foo("b")
}
else if (<caret>true) {
}
else {
foo("c")
foo("d")
}
}