JS backend: fix compiler crash on empty then if block

#EA-68941 fixed
This commit is contained in:
Zalim Bashorov
2015-06-01 19:01:00 +03:00
parent 779a0373c7
commit f90df7aa35
3 changed files with 16 additions and 4 deletions
@@ -0,0 +1,8 @@
package foo
fun box(): String {
var r = ""
if (r != "") else r += "O"
if (r == "O") r += "K" else;
return r
}