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,15 @@
fun foo(s: String) {}
fun bar(s: String?) {
if (s == null) {
1
}
else if (<caret>true) {
foo("a")
foo("b")
2
}
else {
3
}
}