Keep braces in redundant cascade if #KT-19704 Fixed
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user