Don't remove else block if it participate in other expression (KT-18309)
#KT-18309 Fixed
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun test() {
|
||||
if (smth) list1 else {<caret>
|
||||
list2
|
||||
}.add(newItem)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user