JS: fix compiler crash when optimizing JS AST with empty do..while statement. See KT-15513

This commit is contained in:
Alexey Andreev
2017-01-10 12:35:04 +03:00
parent bad6f41d6e
commit ee74342fbe
6 changed files with 14 additions and 11 deletions
@@ -1,6 +1,3 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
fun box(): String {
OUTER@while (true) {
var x = ""