Switch when to phi. (#172)
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
fun foo() {
|
||||
}
|
||||
|
||||
fun main(args: Array<String>) {
|
||||
if (true) foo() else foo()
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
fun main(args: Array<String>) {
|
||||
val b = args.size < 1
|
||||
val x = if (b) Any() else throw Error()
|
||||
}
|
||||
Reference in New Issue
Block a user