[JS IR BE] Arrays, varargs

This commit is contained in:
Anton Bannykh
2018-09-12 14:31:22 +03:00
parent e24f68c357
commit 2e709a81fa
470 changed files with 761 additions and 585 deletions
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun box(): String {
val sb = StringBuilder()
operator fun String.unaryPlus() {
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class A {
private val sb: StringBuilder = StringBuilder()
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
fun box() : String {
val array = ArrayList<String>()
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
class Template() {
val collected = ArrayList<String>()