Intrinsify String?.plus in JS BE

See KT-8020
This commit is contained in:
Alexey Andreev
2017-06-13 20:05:08 +03:00
parent 7efb9ddd4e
commit d3a5201ecc
12 changed files with 143 additions and 109 deletions
-4
View File
@@ -1,7 +1,3 @@
// TODO: Enable for JS when it supports Java class library.
// IGNORE_BACKEND: JS
// fails on JS with TypeError: imported$plus is not a function, it is undefined.
operator fun <K, V> MutableMap<K, V>.set(key : K, value : V) = put(key, value)
fun box() : String {
-3
View File
@@ -1,6 +1,3 @@
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS
fun stringConcat(n : Int) : String? {
var string : String? = ""
for (i in 0..(n - 1))