KT-12942 related: remove braces now does not work for if inside if
(cherry picked from commit c1faed5)
This commit is contained in:
committed by
Mikhail Glukhikh
parent
3fe114fc24
commit
39ffb68cc6
@@ -0,0 +1,11 @@
|
||||
// IS_APPLICABLE: false
|
||||
fun test(b: Boolean): String {
|
||||
if (b == true) {
|
||||
if (true) return "first"
|
||||
}<caret>
|
||||
else if (b == false) {
|
||||
if (true) return "second"
|
||||
}
|
||||
|
||||
return "none"
|
||||
}
|
||||
Reference in New Issue
Block a user