[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
// IGNORE_BACKEND: NATIVE
class N() : ArrayList<Any>() {
-1
View File
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
abstract class WaitFor {
init {
condition()
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
open class A(val array: Array<Any>)
class B : A(arrayOf("OK"))
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JS_IR
abstract class Base(val s: String, vararg ints: Int)
fun foo(s: String, ints: IntArray) = object : Base(ints = *ints, s = s) {}