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() {
|
||||
val t = 1
|
||||
val f = 2
|
||||
val a: Int
|
||||
a = if (true) t else <caret>f
|
||||
}
|
||||
Reference in New Issue
Block a user