Keep braces in redundant cascade if #KT-19704 Fixed
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
// WITH_RUNTIME
|
||||
|
||||
fun foo(x: Int) {}
|
||||
|
||||
fun bar(s: String?) {
|
||||
if (s == null) {
|
||||
1
|
||||
}
|
||||
else {
|
||||
foo(1)
|
||||
2
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user