Ignore some 'when' subject variable tests in JS_IR be

This commit is contained in:
Dmitry Petrov
2018-06-19 18:00:50 +03:00
parent a4b5d74ae3
commit c312fddb45
10 changed files with 11 additions and 9 deletions
@@ -1,9 +1,10 @@
// IGNORE_BACKEND: JS_IR
// WITH_RUNTIME
val String.name get() = this
fun List<String>.normalize(): List<String> {
val list = ArrayList<String>(this.size)
val list = ArrayList<String>()
for (str in this) {
when (str.name) {
"." -> {}